public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix device count check btrfs_rm_devices() and add comments
@ 2021-09-01  6:43 Anand Jain
  2021-09-01  6:43 ` [PATCH 1/2] btrfs: use num_device to check for the last surviving seed device Anand Jain
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Anand Jain @ 2021-09-01  6:43 UTC (permalink / raw)
  To: linux-btrfs

Patch 1/2 fixes a bug that we checked open_devices to check if the deleted
device was the last surviving device in the seed fsid.
Patch 2/2 adds comments about the device counts in struct btrfs_fs_devices.

Anand Jain (2):
  btrfs: use num_device to check for the last surviving seed device
  btrfs: add comments for device counts in struct btrfs_fs_devices

 fs/btrfs/volumes.c |  2 +-
 fs/btrfs/volumes.h | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletion(-)

-- 
2.31.1


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

end of thread, other threads:[~2021-09-20  7:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-01  6:43 [PATCH 0/2] Fix device count check btrfs_rm_devices() and add comments Anand Jain
2021-09-01  6:43 ` [PATCH 1/2] btrfs: use num_device to check for the last surviving seed device Anand Jain
2021-09-01  9:22   ` Nikolay Borisov
2021-09-02 15:31     ` David Sterba
2021-09-03  3:07       ` Anand Jain
2021-09-01  6:43 ` [PATCH 2/2] btrfs: add comments for device counts in struct btrfs_fs_devices Anand Jain
2021-09-20  7:31 ` [PATCH 0/2] Fix device count check btrfs_rm_devices() and add comments Anand Jain

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