btrfs-progs: btrfsck operations should be exclusive
authorAnand Jain <Anand.Jain@oracle.com>
Mon, 13 Jan 2014 13:14:55 +0000 (21:14 +0800)
committerChris Mason <clm@fb.com>
Fri, 31 Jan 2014 16:22:26 +0000 (08:22 -0800)
commitf920dbce8d8161fff30e3e75ebfc71e978d9bea4
tree2ca6561e3cd88062c327281d83c758f588055e60
parentb2e99e1819d967828edf149db5a203e59a40e379
btrfs-progs: btrfsck operations should be exclusive

this patch will make btrfsck operations to open disk in exclusive mode,
so that mount will fail when btrfsck is running

Signed-off-by: Anand Jain <Anand.Jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
cmds-check.c
disk-io.c
disk-io.h
volumes.c