Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] btrfs: fix inlined file extent items in data reloc
@ 2026-06-21  6:12 Qu Wenruo
  2026-06-21  6:12 ` [PATCH 1/2] btrfs: do not try compression for data reloc inodes Qu Wenruo
  2026-06-21  6:12 ` [PATCH 2/2] btrfs: reject inline file extent item in get_new_location() Qu Wenruo
  0 siblings, 2 replies; 3+ messages in thread
From: Qu Wenruo @ 2026-06-21  6:12 UTC (permalink / raw)
  To: linux-btrfs

There is a syzbot report that an inlined file extent item in a data
reloc inode triggered a sanity check in get_new_location().

It turns out that we can create inlined file extents for data reloc
inodes in the first place, which should not happen.

So the first patch will avoid compression for data reloc inodes first,
then the second patch to reject inlined file extent items in
get_new_location(), making the checks more robust.

Qu Wenruo (2):
  btrfs: do not try compression for data reloc inodes
  btrfs: reject inline file extent item in get_new_location()

 fs/btrfs/btrfs_inode.h | 2 ++
 fs/btrfs/relocation.c  | 7 +++++++
 2 files changed, 9 insertions(+)

-- 
2.54.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-06-21  6:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-21  6:12 [PATCH 0/2] btrfs: fix inlined file extent items in data reloc Qu Wenruo
2026-06-21  6:12 ` [PATCH 1/2] btrfs: do not try compression for data reloc inodes Qu Wenruo
2026-06-21  6:12 ` [PATCH 2/2] btrfs: reject inline file extent item in get_new_location() Qu Wenruo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox