|
@@ -3168,7 +3168,7 @@ alloc:
|
|
spin_unlock(&data_sinfo->lock);
|
|
spin_unlock(&data_sinfo->lock);
|
|
|
|
|
|
/* commit the current transaction and try again */
|
|
/* commit the current transaction and try again */
|
|
- if (!committed) {
|
|
|
|
|
|
+ if (!committed && !root->fs_info->open_ioctl_trans) {
|
|
committed = 1;
|
|
committed = 1;
|
|
trans = btrfs_join_transaction(root, 1);
|
|
trans = btrfs_join_transaction(root, 1);
|
|
if (!trans)
|
|
if (!trans)
|