public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] btrfs: zoned: fix zone management on degraded filesystems
@ 2025-03-17 11:24 Johannes Thumshirn
  2025-03-17 11:24 ` [PATCH 1/2] btrfs: zoned: fix zone activation with missing devices Johannes Thumshirn
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Johannes Thumshirn @ 2025-03-17 11:24 UTC (permalink / raw)
  To: linux-btrfs
  Cc: Naohiro Aota, Damien Le Moal, Josef Bacik, David Sterba,
	Johannes Thumshirn

Two fixes around ZONE FINISH and ZONE ACTIVATE for multi device filesystems in
degraded mode.

Both times we're dereferencing the btrfs_device::zone_info pointer without
prior checking if the device is present.

Johannes Thumshirn (2):
  btrfs: zoned: fix zone activation with missing devices
  btrfs: zoned: fix zone finishing with missing devices

 fs/btrfs/zoned.c | 6 ++++++
 1 file changed, 6 insertions(+)

-- 
2.43.0


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

end of thread, other threads:[~2025-03-18 10:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-17 11:24 [PATCH 0/2] btrfs: zoned: fix zone management on degraded filesystems Johannes Thumshirn
2025-03-17 11:24 ` [PATCH 1/2] btrfs: zoned: fix zone activation with missing devices Johannes Thumshirn
2025-03-17 11:24 ` [PATCH 2/2] btrfs: zoned: fix zone finishing " Johannes Thumshirn
2025-03-18  1:27 ` [PATCH 0/2] btrfs: zoned: fix zone management on degraded filesystems Naohiro Aota
2025-03-18 10:10 ` Anand Jain

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