summaryrefslogtreecommitdiff
path: root/fs/btrfs/extent_io.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-04-27 00:54:39 +0300
committerDavid Sterba <dsterba@suse.com>2016-04-29 12:01:47 +0300
commitceeb0ae7bf42a3deaaaee981d2da02e5d3ad2b0f (patch)
tree19b30e6a6107b68b7f40567d0c05f9458ec27832 /fs/btrfs/extent_io.h
parent02da2d72174c61988eb4456b53f405e3ebdebce4 (diff)
downloadlinux-ceeb0ae7bf42a3deaaaee981d2da02e5d3ad2b0f.tar.xz
btrfs: sink gfp parameter to set_extent_bits
All callers pass GFP_NOFS. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_io.h')
-rw-r--r--fs/btrfs/extent_io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h
index b5e0ade90e88..447c6e6ff88c 100644
--- a/fs/btrfs/extent_io.h
+++ b/fs/btrfs/extent_io.h
@@ -259,9 +259,9 @@ int set_extent_bit(struct extent_io_tree *tree, u64 start, u64 end,
struct extent_state **cached_state, gfp_t mask);
static inline int set_extent_bits(struct extent_io_tree *tree, u64 start,
- u64 end, unsigned bits, gfp_t mask)
+ u64 end, unsigned bits)
{
- return set_extent_bit(tree, start, end, bits, NULL, NULL, mask);
+ return set_extent_bit(tree, start, end, bits, NULL, NULL, GFP_NOFS);
}
static inline int clear_extent_uptodate(struct extent_io_tree *tree, u64 start,