summaryrefslogtreecommitdiff
path: root/cmds-device.c
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2013-10-08 11:41:38 +0800
committerChris Mason <chris.mason@fusionio.com>2013-10-16 08:23:13 -0400
commit6c2c30ce03c0beba716b5a054b64c6bf62068cb6 (patch)
tree5eafea2455b483a06e7b473b1cd63b84805ce4b7 /cmds-device.c
parenta7131ad1241470829fd5b836ce6cb6c74cdbef45 (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