summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2024-12-28 23:21:56 +0300
committerSteve French <stfrench@microsoft.com>2025-01-20 04:58:11 +0300
commit10e6fe53d90b550876bffc5847107c5372c01084 (patch)
tree1c41ae64d46bcb577ebd8d8422e198db72b7bcc9 /tools/perf/scripts/python/export-to-postgresql.py
parente20a405fe4f240d94f1baaa0eaf816cbf16ffb60 (diff)
downloadlinux-10e6fe53d90b550876bffc5847107c5372c01084.tar.xz
cifs: Do not attempt to call CIFSGetSrvInodeNumber() without CAP_INFOLEVEL_PASSTHRU
CIFSGetSrvInodeNumber() uses SMB_QUERY_FILE_INTERNAL_INFO (0x3ee) level which is SMB PASSTHROUGH level (>= 0x03e8). SMB PASSTHROUGH levels are supported only when server announce CAP_INFOLEVEL_PASSTHRU. So add guard in cifs_query_file_info() function which is the only user of CIFSGetSrvInodeNumber() function and returns -EOPNOTSUPP when server does not announce CAP_INFOLEVEL_PASSTHRU. Signed-off-by: Pali Rohár <pali@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions