summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-mod-log.h
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2022-10-14 14:44:33 +0100
committerDavid Sterba <dsterba@suse.com>2022-12-05 18:00:40 +0100
commit33cff222faffefc57f57326547e68133a7816e29 (patch)
treedc256eb2ead3b5a3067ce73d6318e5c997f978b8 /fs/btrfs/tree-mod-log.h
parent879b2221983184cd61fe852f90f3c0d6dd647f67 (diff)
downloadlinux-33cff222faffefc57f57326547e68133a7816e29.tar.gz
linux-33cff222faffefc57f57326547e68133a7816e29.tar.bz2
linux-33cff222faffefc57f57326547e68133a7816e29.zip
btrfs: remove gfp_t flag from btrfs_tree_mod_log_insert_key()
All callers of btrfs_tree_mod_log_insert_key() are now passing a GFP_NOFS flag to it, so remove the flag from it and from alloc_tree_mod_elem() and use it directly within alloc_tree_mod_elem(). Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tree-mod-log.h')
-rw-r--r--fs/btrfs/tree-mod-log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/tree-mod-log.h b/fs/btrfs/tree-mod-log.h
index 12605d19621b..8cffe0bc2a39 100644
--- a/fs/btrfs/tree-mod-log.h
+++ b/fs/btrfs/tree-mod-log.h
@@ -32,7 +32,7 @@ int btrfs_tree_mod_log_insert_root(struct extent_buffer *old_root,
struct extent_buffer *new_root,
bool log_removal);
int btrfs_tree_mod_log_insert_key(struct extent_buffer *eb, int slot,
- enum btrfs_mod_log_op op, gfp_t flags);
+ enum btrfs_mod_log_op op);
int btrfs_tree_mod_log_free_eb(struct extent_buffer *eb);
struct extent_buffer *btrfs_tree_mod_log_rewind(struct btrfs_fs_info *fs_info,
struct btrfs_path *path,