diff options
author | Anand Jain <anand.jain@oracle.com> | 2013-10-08 11:41:38 +0800 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-10-16 08:23:13 -0400 |
commit | 6c2c30ce03c0beba716b5a054b64c6bf62068cb6 (patch) | |
tree | 5eafea2455b483a06e7b473b1cd63b84805ce4b7 /cmds-device.c | |
parent | a7131ad1241470829fd5b836ce6cb6c74cdbef45 (diff) |
btrfs-progs: use kernel for mounted disk for show
As of now btrfs filesystem show reads directly from
disks. So sometimes output can be stale, mainly when
user wants to cross verify their operation like,
label or device delete or add... etc. so this
patch will read from the kernel ioctl if it finds
that disk is mounted.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'cmds-device.c')
0 files changed, 0 insertions, 0 deletions