diff options
-rw-r--r-- | fs/btrfs/volumes.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 0d7ab7eab2a2..5aa52ee5c25e 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c | |||
@@ -717,9 +717,9 @@ static int __btrfs_open_devices(struct btrfs_fs_devices *fs_devices, | |||
717 | if (!device->name) | 717 | if (!device->name) |
718 | continue; | 718 | continue; |
719 | 719 | ||
720 | ret = btrfs_get_bdev_and_sb(device->name->str, flags, holder, 1, | 720 | /* Just open everything we can; ignore failures here */ |
721 | &bdev, &bh); | 721 | if (btrfs_get_bdev_and_sb(device->name->str, flags, holder, 1, |
722 | if (ret) | 722 | &bdev, &bh)) |
723 | continue; | 723 | continue; |
724 | 724 | ||
725 | disk_super = (struct btrfs_super_block *)bh->b_data; | 725 | disk_super = (struct btrfs_super_block *)bh->b_data; |