Skip to content

Fix device count check btrfs_rm_devices() and add comments

Anand Jain linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: use num_device to check for the last surviving seed devicefs/btrfs/volumes.c+1 -13 replies
2/2btrfs: add comments for device counts in struct btrfs_fs_devicesfs/btrfs/volumes.h+19 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Fix device count check btrfs_rm_devices() and add comments

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(-)
Signature · 1 line
2.31.1