aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/extent-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index a4b2b03cd682..d119c0388af1 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -3168,7 +3168,7 @@ alloc:
3168 spin_unlock(&data_sinfo->lock); 3168 spin_unlock(&data_sinfo->lock);
3169 3169
3170 /* commit the current transaction and try again */ 3170 /* commit the current transaction and try again */
3171 if (!committed) { 3171 if (!committed && !root->fs_info->open_ioctl_trans) {
3172 committed = 1; 3172 committed = 1;
3173 trans = btrfs_join_transaction(root, 1); 3173 trans = btrfs_join_transaction(root, 1);
3174 if (!trans) 3174 if (!trans)