summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2026-08-26 12:41:28 +0200
committerAndreas Gruenbacher <agruenba@redhat.com>2026-09-11 15:08:15 +0200
commit0008baad6377c8195c63151f66cc01039919eab6 (patch)
tree71e100df9f897658abd8ef25c7fe660cab02c2c8 /tools/lib/python
parent59932d7f7e48e2bd2017e8d4d9e1a3f2574436f1 (diff)
downloadlinux-next-0008baad6377c8195c63151f66cc01039919eab6.tar.gz
linux-next-0008baad6377c8195c63151f66cc01039919eab6.zip
gfs2: No quotas for meta inodes
Inodes on the meta filesystem (mount -o meta) can never have quotas, so skip them entirely in the quota code. This avoids allocating ip->i_qadata unnecessarily. Without this fix, unlinking meta inodes like "statfs" on the meta filesystem will result in a NULL pointer dereference at unmount time: gfs2_evict_inode() -> gfs2_dinode_dealloc() -> gfs2_quota_hold() -> qdsb_get() -> slot_get() -> find_first_zero_bit(sd_quota_bitmap) Unlinking inodes on the meta filesystem isn't a useful operation, but it still shouldn't cause the kernel to misbehave. Reported-by: syzbot+cb79de2cc8b76fbf474f@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=cb79de2cc8b76fbf474f Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions