Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
btrfs: close_bdev_exclusive() should use the same @flags as the match…
…ing 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>
- Loading branch information