aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2024-02-24 06:01:40 +0000
committerChandan Babu R <[email protected]>2024-02-26 12:28:37 +0000
commite610e856b938a1fc86e7ee83ad2f39716082bca7 (patch)
treee5df1149fea37e343fc654f80e0489dfb5cb6802 /scripts/bpf_doc.py
parentxfs: fix log recovery erroring out on refcount recovery failure (diff)
downloadkernel-e610e856b938a1fc86e7ee83ad2f39716082bca7.tar.gz
kernel-e610e856b938a1fc86e7ee83ad2f39716082bca7.zip
xfs: fix scrub stats file permissions
When the kernel is in lockdown mode, debugfs will only show files that are world-readable and cannot be written, mmaped, or used with ioctl. That more or less describes the scrub stats file, except that the permissions are wrong -- they should be 0444, not 0644. You can't write the stats file, so the 0200 makes no sense. Meanwhile, the clear_stats file is only writable, but it got mode 0400 instead of 0200, which would make more sense. Fix both files so that they make sense. Fixes: d7a74cad8f451 ("xfs: track usage statistics of online fsck") Signed-off-by: "Darrick J. Wong" <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Chandan Babu R <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions