summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2proto.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2018-09-03 13:33:46 +1000
committerSteve French <stfrench@microsoft.com>2018-10-23 21:16:04 -0500
commitf7bfe04bf0dbc422cbb3d5cffe1601518116dad6 (patch)
tree16f238fdd5bfebbf98ca6615d28594ef5567de4a /fs/cifs/smb2proto.h
parentc2e0fe3f5aae1f70a1ab402778819d2cacbaefa6 (diff)
downloadlinux-f7bfe04bf0dbc422cbb3d5cffe1601518116dad6.tar.bz2
cifs: change SMB2_OP_SET_EOF to use compounding
This changes SMB2_OP_SET_EOF to use compounding in some situations. This is part of the path based API to truncate a file. Most of the time this will however not be invoked for SMB2 since cifs_set_file_size() will as far as I can tell almost always just open the file synchronously and switch to the handle based truncate code path, thus bypassing the compounding we add here. Rewriting cifs_set_file_size() and make that whole pile of code more compounding friendly, and also easier to read and understand, is a different project though and not for this patch. Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2proto.h')
0 files changed, 0 insertions, 0 deletions