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 | 7cd8c7527cb3ad3b397fecfa1bdc8eec9fa33dd8 (patch) | |
tree | fdef851aea02cdc7fbbdd3dbc6427626a1a50b06 /fs/btrfs/extent_io.h | |
parent | btrfs: sink gfp parameter to clear_extent_dirty (diff) | |
download | linux-7cd8c7527cb3ad3b397fecfa1bdc8eec9fa33dd8.tar.xz linux-7cd8c7527cb3ad3b397fecfa1bdc8eec9fa33dd8.zip |
btrfs: sink gfp parameter to set_extent_delalloc
Callers pass GFP_NOFS and tests pass GFP_KERNEL, but using NOFS there
does not hurt. No need to pass the flags around.
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 9e987ee03361..e99a6befdbf5 100644 --- a/fs/btrfs/extent_io.h +++ b/fs/btrfs/extent_io.h @@ -291,11 +291,11 @@ int convert_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, struct extent_state **cached_state, gfp_t mask); static inline int set_extent_delalloc(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, - NULL, cached_state, mask); + NULL, cached_state, GFP_NOFS); } static inline int set_extent_defrag(struct extent_io_tree *tree, u64 start, |