diff options
author | David Sterba <dsterba@suse.com> | 2016-04-26 23:54:39 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-04-29 11:01:47 +0200 |
commit | 018ed4f788870fdf6e625d04aa287080bdc8a54f (patch) | |
tree | 2af0a4249ccb8b2615e0e9d5dbe1271735b4843c /fs/btrfs/extent_io.h | |
parent | 7cd8c7527cb3ad3b397fecfa1bdc8eec9fa33dd8 (diff) | |
download | op-kernel-dev-018ed4f788870fdf6e625d04aa287080bdc8a54f.zip op-kernel-dev-018ed4f788870fdf6e625d04aa287080bdc8a54f.tar.gz |
btrfs: sink gfp parameter to set_extent_defrag
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h index e99a6be..a1cf4b1 100644 --- a/fs/btrfs/extent_io.h +++ b/fs/btrfs/extent_io.h @@ -299,11 +299,11 @@ static inline int set_extent_delalloc(struct extent_io_tree *tree, u64 start, } static inline int set_extent_defrag(struct extent_io_tree *tree, u64 start, - u64 end, struct extent_state **cached_state, gfp_t mask) + u64 end, struct extent_state **cached_state) { return set_extent_bit(tree, start, end, EXTENT_DELALLOC | EXTENT_UPTODATE | EXTENT_DEFRAG, - NULL, cached_state, mask); + NULL, cached_state, GFP_NOFS); } static inline int set_extent_new(struct extent_io_tree *tree, u64 start, |