diff options
author | Gui Hecheng <guihc.fnst@cn.fujitsu.com> | 2014-11-13 09:19:29 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-12-04 16:48:13 +0100 |
commit | 7269fa15702ba7f925936a31125571ebb4398965 (patch) | |
tree | aa1386d49b3cda47cae3b31b7e7efcee7af41487 /btrfs-debugfs | |
parent | 9f9330200f2be7aca86a20a16c2b0a99ebbaa044 (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