summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAnand Jain <Anand.Jain@oracle.com>2016-07-22 06:04:53 +0800
committerChris Mason <clm@fb.com>2016-08-25 03:58:28 -0700
commit142388194191a3edc9ba01cfcfd8b691e0971fb2 (patch)
tree74a124de8b642896e249df532305b3f1cf317869 /tools
parent28b737f6ede3661fe610937706c4a6f50e9ab769 (diff)
btrfs: do not background blkdev_put()
At the end of unmount/dev-delete, if the device exclusive open is not actually closed, then there might be a race with another program in the userland who is trying to open the device in exclusive mode and it may fail for eg: unmount /btrfs; fsck /dev/x btrfs dev del /dev/x /btrfs; fsck /dev/x so here background blkdev_put() is not a choice Signed-off-by: Anand Jain <Anand.Jain@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions