summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHuiwen He <hehuiwen@kylinos.cn>2026-08-05 09:54:46 +0800
committerPaulo Alcantara <pc@manguebit.org>2026-10-13 00:52:22 -0300
commit273913b7c33a591e1747ffdc2bfc4daaf88bbb88 (patch)
tree218a869bf697dd50c9f10fbcf70fca39c9700d06 /tools/perf/scripts/python/stackcollapse.py
parent62d973b788e05c3c428bd328e68dd48f45492eaf (diff)
downloadlinux-273913b7c33a591e1747ffdc2bfc4daaf88bbb88.tar.gz
linux-273913b7c33a591e1747ffdc2bfc4daaf88bbb88.zip
smb: client: implement fileattr_set for compression flags
CIFS handles FS_IOC_SETFLAGS in cifs_ioctl() because it does not implement ->fileattr_set. This causes the request to fall back from the generic fileattr path and bypass its permission and serialization checks. Implement ->fileattr_set for regular files and directories and use the existing compression helper for FS_COMPR_FL. Accept an unchanged FS_CASEFOLD_FL reported by fileattr_get so chattr can update compression on case-insensitive shares. Tested chattr +c and -c on files and directories against Samba. Non-owner and read-only mount requests were rejected by the VFS checks. Signed-off-by: Huiwen He <hehuiwen@kylinos.cn> Reviewed-by: ChenXiaoSong <chenxiaosong@kylinos.cn> Reviewed-by: David Howells <dhowells@redhat.com> Signed-off-by: Paulo Alcantara <pc@manguebit.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions