diff options
author | Tejun Heo <tj@kernel.org> | 2010-11-13 11:55:17 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-11-13 11:55:17 +0100 |
commit | 37004c42f7240035bc2726c340c4efa726b4818e (patch) | |
tree | f0c9c9b2d21a1258939b99ec37a2d11396583ea6 /drivers/md/dm-table.c | |
parent | mtd: fix bdev exclusive open bugs in block2mtd::add_device() (diff) | |
download | linux-37004c42f7240035bc2726c340c4efa726b4818e.tar.xz linux-37004c42f7240035bc2726c340c4efa726b4818e.zip |
btrfs: close_bdev_exclusive() should use the same @flags as the matching open_bdev_exclusive()
In the failure path of __btrfs_open_devices(), close_bdev_exclusive()
is called with @flags which doesn't match the one used during
open_bdev_exclusive(). Fix it.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'drivers/md/dm-table.c')
0 files changed, 0 insertions, 0 deletions