diff options
author | Filipe Manana <fdmanana@suse.com> | 2022-10-14 14:44:33 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-12-05 18:00:40 +0100 |
commit | 33cff222faffefc57f57326547e68133a7816e29 (patch) | |
tree | dc256eb2ead3b5a3067ce73d6318e5c997f978b8 /fs/btrfs/tree-mod-log.h | |
parent | 879b2221983184cd61fe852f90f3c0d6dd647f67 (diff) | |
download | linux-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.h | 2 |
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, |