diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/volumes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index cc04dc1445d6..d39596224d21 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c | |||
@@ -638,7 +638,7 @@ static int __btrfs_open_devices(struct btrfs_fs_devices *fs_devices, | |||
638 | error_brelse: | 638 | error_brelse: |
639 | brelse(bh); | 639 | brelse(bh); |
640 | error_close: | 640 | error_close: |
641 | close_bdev_exclusive(bdev, FMODE_READ); | 641 | close_bdev_exclusive(bdev, flags); |
642 | error: | 642 | error: |
643 | continue; | 643 | continue; |
644 | } | 644 | } |