aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 6911aa4caa0d..d91f08994d3c 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -2690,7 +2690,7 @@ int open_ctree(struct super_block *sb,
2690 * keep the device that is marked to be the target device for the 2690 * keep the device that is marked to be the target device for the
2691 * dev_replace procedure 2691 * dev_replace procedure
2692 */ 2692 */
2693 btrfs_close_extra_devices(fs_info, fs_devices, 0); 2693 btrfs_close_extra_devices(fs_devices, 0);
2694 2694
2695 if (!fs_devices->latest_bdev) { 2695 if (!fs_devices->latest_bdev) {
2696 printk(KERN_ERR "BTRFS: failed to read devices on %s\n", 2696 printk(KERN_ERR "BTRFS: failed to read devices on %s\n",
@@ -2794,7 +2794,7 @@ retry_root_backup:
2794 goto fail_block_groups; 2794 goto fail_block_groups;
2795 } 2795 }
2796 2796
2797 btrfs_close_extra_devices(fs_info, fs_devices, 1); 2797 btrfs_close_extra_devices(fs_devices, 1);
2798 2798
2799 ret = btrfs_sysfs_add_one(fs_info); 2799 ret = btrfs_sysfs_add_one(fs_info);
2800 if (ret) { 2800 if (ret) {