diff options
author | Anand Jain <anand.jain@oracle.com> | 2021-10-05 23:12:40 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-10-26 20:08:06 +0300 |
commit | add9745adc2fa13e6a6e2c26c78dcb05da031a44 (patch) | |
tree | 9b868ae84e7d0168826c330e84697950cbc41807 /fs/btrfs/dev-replace.c | |
parent | 8e906945c069fbc9377f2748a661ac06d039ea77 (diff) | |
download | linux-add9745adc2fa13e6a6e2c26c78dcb05da031a44.tar.xz |
btrfs: add comments for device counts in struct btrfs_fs_devices
A bug was was checking a wrong device count before we delete the struct
btrfs_fs_devices in btrfs_rm_device(). To avoid future confusion and
easy reference add a comment about the various device counts that we have
in the struct btrfs_fs_devices.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions