xfs: reorder zeroing and flushing sequence in truncate
[cascardo/linux.git] / fs / btrfs / transaction.c
index 5b0b758..f6e24cb 100644 (file)
@@ -944,7 +944,7 @@ int btrfs_write_marked_extents(struct btrfs_root *root,
 
                err = convert_extent_bit(dirty_pages, start, end,
                                         EXTENT_NEED_WAIT,
-                                        mark, &cached_state, GFP_NOFS);
+                                        mark, &cached_state);
                /*
                 * convert_extent_bit can return -ENOMEM, which is most of the
                 * time a temporary error. So when it happens, ignore the error