summaryrefslogtreecommitdiff
path: root/chunk-recover.c
diff options
context:
space:
mode:
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>2013-12-12 15:47:00 +0800
committerChris Mason <clm@fb.com>2014-01-31 08:22:17 -0800
commite3c9596d3fc8b0df647a6cbae55c2d77570de759 (patch)
tree0a774b0b0ebe339b78ff0b1f1a329678ee7d63c1 /chunk-recover.c
parentfd777c3695727e03b0ba46e5577240bee86024b0 (diff)
Btrfs-progs: add sanity checks for btrfs device operations
Make sure we are a block device firstly, this can avoid some unnecessary ioctls operations. Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'chunk-recover.c')
0 files changed, 0 insertions, 0 deletions