summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/backref.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2022-10-14 15:45:37 +0200
committerDavid Sterba <dsterba@suse.com>2022-12-05 18:00:43 +0100
commitd68194b238228ce470de1fc2453851fc06294739 (patch)
tree557bf494b1705080cf004376d2b8025350389b54 /fs/btrfs/backref.h
parente9c83077d2be815cb04f0b054e9494512b1657ee (diff)
downloadlinux-d68194b238228ce470de1fc2453851fc06294739.tar.gz
linux-d68194b238228ce470de1fc2453851fc06294739.tar.bz2
linux-d68194b238228ce470de1fc2453851fc06294739.zip
btrfs: sink gfp_t parameter to btrfs_backref_iter_alloc
There's only one caller that passes GFP_NOFS, we can drop the parameter an use the flags directly. Reviewed-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/backref.h')
-rw-r--r--fs/btrfs/backref.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/backref.h b/fs/btrfs/backref.h
index fa3c9cbf9ae7..2dd68f87dca5 100644
--- a/fs/btrfs/backref.h
+++ b/fs/btrfs/backref.h
@@ -156,8 +156,7 @@ struct btrfs_backref_iter {
u32 end_ptr;
};
-struct btrfs_backref_iter *btrfs_backref_iter_alloc(
- struct btrfs_fs_info *fs_info, gfp_t gfp_flag);
+struct btrfs_backref_iter *btrfs_backref_iter_alloc(struct btrfs_fs_info *fs_info);
static inline void btrfs_backref_iter_free(struct btrfs_backref_iter *iter)
{