diff options
Diffstat (limited to 'fs/btrfs/ioctl.c')
-rw-r--r-- | fs/btrfs/ioctl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index 6002eb64daf9..026039a2ac58 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c | |||
@@ -164,7 +164,6 @@ fail: | |||
164 | ret = err; | 164 | ret = err; |
165 | fail_commit: | 165 | fail_commit: |
166 | btrfs_btree_balance_dirty(root, nr); | 166 | btrfs_btree_balance_dirty(root, nr); |
167 | btrfs_throttle(root); | ||
168 | return ret; | 167 | return ret; |
169 | } | 168 | } |
170 | 169 | ||
@@ -206,7 +205,6 @@ static int create_snapshot(struct btrfs_root *root, char *name, int namelen) | |||
206 | 205 | ||
207 | fail_unlock: | 206 | fail_unlock: |
208 | btrfs_btree_balance_dirty(root, nr); | 207 | btrfs_btree_balance_dirty(root, nr); |
209 | btrfs_throttle(root); | ||
210 | return ret; | 208 | return ret; |
211 | } | 209 | } |
212 | 210 | ||