Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] btrfs: add basic alignment checks for extent_state
@ 2026-07-28  6:39 Qu Wenruo
  2026-07-28  6:39 ` [PATCH 1/2] btrfs: use proper inclusive end in extent_fiemap() Qu Wenruo
  2026-07-28  6:39 ` [PATCH 2/2] btrfs: add validation for extent states Qu Wenruo
  0 siblings, 2 replies; 10+ messages in thread
From: Qu Wenruo @ 2026-07-28  6:39 UTC (permalink / raw)
  To: linux-btrfs

Commit 3f255ece2f1e ("btrfs: introduce extra sanity checks for extent
maps") introduced sanity checks for extent maps, but for extent state we
do not have any extra sanity checks.

This series will introduce the check in the 2nd patch, meanwhile the
first one is to fix an exposed unaligned access in extent_fiemap().

Qu Wenruo (2):
  btrfs: use proper inclusive end in extent_fiemap()
  btrfs: add validation for extent states

 fs/btrfs/extent-io-tree.c | 21 +++++++++++++++++++++
 fs/btrfs/fiemap.c         |  8 ++++----
 2 files changed, 25 insertions(+), 4 deletions(-)

-- 
2.54.0


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

end of thread, other threads:[~2026-07-28  9:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-28  6:39 [PATCH 0/2] btrfs: add basic alignment checks for extent_state Qu Wenruo
2026-07-28  6:39 ` [PATCH 1/2] btrfs: use proper inclusive end in extent_fiemap() Qu Wenruo
2026-07-28  7:35   ` Filipe Manana
2026-07-28  8:48     ` Qu Wenruo
2026-07-28  8:05   ` Daniel Vacek
2026-07-28  8:40     ` Qu Wenruo
2026-07-28  9:17       ` Daniel Vacek
2026-07-28  9:20         ` Qu Wenruo
2026-07-28  9:47         ` Daniel Vacek
2026-07-28  6:39 ` [PATCH 2/2] btrfs: add validation for extent states Qu Wenruo

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