aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-04-26 17:54:39 -0400
committerDavid Sterba <dsterba@suse.com>2016-04-29 05:01:47 -0400
commit91166212e0ffbb4db50aa8a238548e967008b33d (patch)
tree39ddd7b777e11e65b514ea6e991d317c348179f4 /fs/btrfs/inode.c
parentceeb0ae7bf42a3deaaaee981d2da02e5d3ad2b0f (diff)
btrfs: sink gfp parameter to clear_extent_bits
Callers pass GFP_NOFS and GFP_KERNEL. No need to pass the flags around. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r--fs/btrfs/inode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 2aaba58b4856..d37997f4eb98 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -3103,8 +3103,7 @@ static int btrfs_readpage_end_io_hook(struct btrfs_io_bio *io_bio,
3103 3103
3104 if (root->root_key.objectid == BTRFS_DATA_RELOC_TREE_OBJECTID && 3104 if (root->root_key.objectid == BTRFS_DATA_RELOC_TREE_OBJECTID &&
3105 test_range_bit(io_tree, start, end, EXTENT_NODATASUM, 1, NULL)) { 3105 test_range_bit(io_tree, start, end, EXTENT_NODATASUM, 1, NULL)) {
3106 clear_extent_bits(io_tree, start, end, EXTENT_NODATASUM, 3106 clear_extent_bits(io_tree, start, end, EXTENT_NODATASUM);
3107 GFP_NOFS);
3108 return 0; 3107 return 0;
3109 } 3108 }
3110 3109