summaryrefslogtreecommitdiff
path: root/btrfs-debugfs
diff options
context:
space:
mode:
authorGui Hecheng <guihc.fnst@cn.fujitsu.com>2014-11-13 09:19:29 +0800
committerDavid Sterba <dsterba@suse.cz>2014-12-04 16:48:13 +0100
commit7269fa15702ba7f925936a31125571ebb4398965 (patch)
treeaa1386d49b3cda47cae3b31b7e7efcee7af41487 /btrfs-debugfs
parent9f9330200f2be7aca86a20a16c2b0a99ebbaa044 (diff)
btrfs-progs: fix wrong num_devices for btrfs fi show with seed devices
The @fi_args->num_devices in @get_fs_info() does not include seed devices. We could just correct it by searching the chunk tree and count how many dev_items there are in total which includes seed devices. Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'btrfs-debugfs')
0 files changed, 0 insertions, 0 deletions