diff options
author | Anand Jain <[email protected]> | 2016-07-22 06:04:53 +0800 |
---|---|---|
committer | Chris Mason <[email protected]> | 2016-08-25 03:58:28 -0700 |
commit | 142388194191a3edc9ba01cfcfd8b691e0971fb2 (patch) | |
tree | 74a124de8b642896e249df532305b3f1cf317869 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 28b737f6ede3661fe610937706c4a6f50e9ab769 (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 <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions