Skip to content
Snippets Groups Projects
Commit 37004c42 authored by Tejun Heo's avatar Tejun Heo
Browse files

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: default avatarTejun Heo <tj@kernel.org>
Cc: Chris Mason <chris.mason@oracle.com>
parent 731edacb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment