summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2026-09-03 11:05:04 +0200
committerJan Kara <jack@suse.cz>2026-09-04 11:01:09 +0200
commit6a35b82f8ef70e0129344ece5bbe5bca76acd886 (patch)
tree07d4690bd2b01398b09c5ef8bec5e9f96d209155 /tools/perf/scripts/python/bin
parent9708538ba204d20aa9a5936530862254dcbc6f70 (diff)
downloadlinux-6a35b82f8ef70e0129344ece5bbe5bca76acd886.tar.gz
linux-6a35b82f8ef70e0129344ece5bbe5bca76acd886.zip
ocfs2: Refuse to enable ocfs2 format for another filesystem
It is possible to issue Q_QUOTAON quotactl(2) e.g. for ext4 filesystem requesting to enable quota using ocfs2 quota format. With suitable passed arguments this can get upto ocfs2_local_check_quota_file() where the passed superblock is from the ext4 filesystem and that can cause all sorts of interesting things, most likely crashes. As ocfs2 quotas are specific to ocfs2 filesystem, verify we are indeed enabling quotas there. Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com> Link: https://patch.msgid.link/20260903090508.1360863-3-jack@suse.cz Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions