aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/transaction.c
diff options
context:
space:
mode:
authorGravatar David Sterba <dsterba@suse.com> 2016-04-26 23:54:39 +0200
committerGravatar David Sterba <dsterba@suse.com> 2016-04-29 13:48:14 +0200
commit210aa27768bec4297a9d6ad0e5cab45935c775e9 (patch)
tree3b1e723a0f4dda6cfe820f20f8d193dc3b4c5100 /fs/btrfs/transaction.c
parentbtrfs: make state preallocation more speculative in __set_extent_bit (diff)
downloadlinux-210aa27768bec4297a9d6ad0e5cab45935c775e9.tar.gz
linux-210aa27768bec4297a9d6ad0e5cab45935c775e9.tar.bz2
linux-210aa27768bec4297a9d6ad0e5cab45935c775e9.zip
btrfs: sink gfp parameter to convert_extent_bit
Single caller passes GFP_NOFS. We can get rid of the gfpflags_allow_blocking checks as NOFS can block but does not recurse to filesystem through reclaim. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r--fs/btrfs/transaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c
index 43885e51b882..98b93d9c6213 100644
--- a/fs/btrfs/transaction.c
+++ b/fs/btrfs/transaction.c
@@ -943,7 +943,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