aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2024-12-27 15:04:38 +0000
committerSteve French <[email protected]>2025-01-20 01:57:02 +0000
commite20a405fe4f240d94f1baaa0eaf816cbf16ffb60 (patch)
tree919e65c99c63aca3b81ad0edb521eb900ce05505 /drivers/platform/x86/intel/pmt/class.c
parentcifs: Remove declaration of dead CIFSSMBQuerySymLink function (diff)
downloadkernel-e20a405fe4f240d94f1baaa0eaf816cbf16ffb60.tar.gz
kernel-e20a405fe4f240d94f1baaa0eaf816cbf16ffb60.zip
cifs: Do not attempt to call CIFSSMBRenameOpenFile() without CAP_INFOLEVEL_PASSTHRU
CIFSSMBRenameOpenFile() uses SMB_SET_FILE_RENAME_INFORMATION (0x3f2) level which is SMB PASSTHROUGH level (>= 0x03e8). SMB PASSTHROUGH levels are supported only when server announce CAP_INFOLEVEL_PASSTHRU. All usage of CIFSSMBRenameOpenFile() execept the one is already guarded by checks which prevents calling it against servers without support for CAP_INFOLEVEL_PASSTHRU. The remaning usage without guard is in cifs_do_rename() function, so add missing guard here. Signed-off-by: Pali Rohár <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions