diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2018-09-03 13:33:46 +1000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-10-23 21:16:04 -0500 |
commit | f7bfe04bf0dbc422cbb3d5cffe1601518116dad6 (patch) | |
tree | 16f238fdd5bfebbf98ca6615d28594ef5567de4a /fs/read_write.c | |
parent | c2e0fe3f5aae1f70a1ab402778819d2cacbaefa6 (diff) | |
download | linux-f7bfe04bf0dbc422cbb3d5cffe1601518116dad6.tar.gz |
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/read_write.c')
0 files changed, 0 insertions, 0 deletions