summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-04-26 23:54:39 +0200
committerDavid Sterba <dsterba@suse.com>2016-04-29 11:01:47 +0200
commit3744dbeb7033825e53b919ae0887e08e924841a9 (patch)
tree74a2fa55ef9edb868d0297abf25fc0ed9ee8915a /fs/btrfs/extent_io.h
parent018ed4f788870fdf6e625d04aa287080bdc8a54f (diff)
downloadlinux-stable-3744dbeb7033825e53b919ae0887e08e924841a9.tar.gz
linux-stable-3744dbeb7033825e53b919ae0887e08e924841a9.tar.bz2
linux-stable-3744dbeb7033825e53b919ae0887e08e924841a9.zip
btrfs: sink gfp parameter to set_extent_new
Single caller passes 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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h
index a1cf4b1dd290..566cf86d7e63 100644
--- a/fs/btrfs/extent_io.h
+++ b/fs/btrfs/extent_io.h
@@ -307,9 +307,10 @@ static inline int set_extent_defrag(struct extent_io_tree *tree, u64 start,
}
static inline int set_extent_new(struct extent_io_tree *tree, u64 start,
- u64 end, gfp_t mask)
+ u64 end)
{
- return set_extent_bit(tree, start, end, EXTENT_NEW, NULL, NULL, mask);
+ return set_extent_bit(tree, start, end, EXTENT_NEW, NULL, NULL,
+ GFP_NOFS);
}
static inline int set_extent_uptodate(struct extent_io_tree *tree, u64 start,