summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2024-12-25 16:00:39 +0300
committerSteve French <stfrench@microsoft.com>2025-01-30 02:04:57 +0300
commit25f6184e24b3991eae977a29ecf27d537cc930b2 (patch)
treeef79ee926ba6cfc961777b3846111ef94788a0e7 /tools/perf/scripts/python/syscall-counts.py
parentef201e8759d20bf82b5943101147072de12bc524 (diff)
downloadlinux-25f6184e24b3991eae977a29ecf27d537cc930b2.tar.xz
cifs: Remove intermediate object of failed create SFU call
Check if the server honored ATTR_SYSTEM flag by CREATE_OPTION_SPECIAL option. If not then server does not support ATTR_SYSTEM and newly created file is not SFU compatible, which means that the call failed. If CREATE was successful but either setting ATTR_SYSTEM failed or writing type/data information failed then remove the intermediate object created by CREATE. Otherwise intermediate empty object stay on the server. This ensures that if the creating of SFU files with system attribute is unsupported by the server then no empty file stay on the server as a result of unsupported operation. This is for example case with Samba server and Linux tmpfs storage without enabled xattr support (where Samba stores ATTR_SYSTEM bit). Cc: stable@vger.kernel.org Signed-off-by: Pali Rohár <pali@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions