X-Git-Url: http://git.samba.org/samba.git/?p=sfrench%2Fcifs-2.6.git;a=blobdiff_plain;f=fs%2Fbtrfs%2Fextent-tree.c;h=1469117a8e37175e59338e5f049a02d691594398;hp=2760292e1175920f6a469b64447a4a71f3b77269;hb=92e2f7e37004115db2ba98c6999a74ff5e41c83f;hpb=bcf3a3e7fb55f9238bc848147316317d099c2048 diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 2760292e1175..1469117a8e37 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -4338,8 +4338,7 @@ again: /* 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) {