Btrfs: Fix deadlock while searching for dead roots on mount
[deliverable/linux.git] / fs / btrfs / ioctl.c
index 6002eb64daf938e7fcf1a84959cf485526fef69e..026039a2ac580dac8126ab3e11e4a0dc973eceb4 100644 (file)
@@ -164,7 +164,6 @@ fail:
                ret = err;
 fail_commit:
        btrfs_btree_balance_dirty(root, nr);
-       btrfs_throttle(root);
        return ret;
 }
 
@@ -206,7 +205,6 @@ static int create_snapshot(struct btrfs_root *root, char *name, int namelen)
 
 fail_unlock:
        btrfs_btree_balance_dirty(root, nr);
-       btrfs_throttle(root);
        return ret;
 }
 
This page took 0.036897 seconds and 5 git commands to generate.