btrfs: Remove btrfs_fs_info::open_ioctl_trans
[sfrench/cifs-2.6.git] / fs / btrfs / extent-tree.c
index 2760292e1175920f6a469b64447a4a71f3b77269..1469117a8e37175e59338e5f049a02d691594398 100644 (file)
@@ -4338,8 +4338,7 @@ again:
 
                /* commit the current transaction and try again */
 commit_trans:
 
                /* commit the current transaction and try again */
 commit_trans:
-               if (need_commit &&
-                   !atomic_read(&fs_info->open_ioctl_trans)) {
+               if (need_commit) {
                        need_commit--;
 
                        if (need_commit > 0) {
                        need_commit--;
 
                        if (need_commit > 0) {