summaryrefslogtreecommitdiffstats
path: root/fs/cifs/misc.c
diff options
context:
space:
mode:
authorEnzo Matsumiya <ematsumiya@suse.de>2022-08-17 21:08:34 +0200
committerSteve French <stfrench@microsoft.com>2022-08-18 06:30:49 +0200
commit400d0ad63b190895e29f43bc75b1260111d3fd34 (patch)
treeeea19d02d6d80a3bb557d31c4253feac456c81f6 /fs/cifs/misc.c
parentcifs: remove unused server parameter from calc_smb_size() (diff)
downloadlinux-400d0ad63b190895e29f43bc75b1260111d3fd34.tar.xz
linux-400d0ad63b190895e29f43bc75b1260111d3fd34.zip
cifs: remove useless parameter 'is_fsctl' from SMB2_ioctl()
SMB2_ioctl() is always called with is_fsctl = true, so doesn't make any sense to have it at all. Thus, always set SMB2_0_IOCTL_IS_FSCTL flag on the request. Also, as per MS-SMB2 3.3.5.15 "Receiving an SMB2 IOCTL Request", servers must fail the request if the request flags is zero anyway. Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de> Reviewed-by: Tom Talpey <tom@talpey.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/misc.c')
0 files changed, 0 insertions, 0 deletions