summaryrefslogtreecommitdiff
path: root/fs/btrfs/backref.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2022-06-06 20:32:59 +0300
committerDavid Sterba <dsterba@suse.com>2022-07-25 18:45:36 +0300
commite3059ec06b9f1a96826cc2bb6ed131aac0942446 (patch)
tree8f124ae354730c7db40ed1e33e019d8b25f6727e /fs/btrfs/backref.h
parent875d1daa7bc683821a4209e1c6aab24909e95217 (diff)
downloadlinux-e3059ec06b9f1a96826cc2bb6ed131aac0942446.tar.xz
btrfs: sink iterator parameter to btrfs_ioctl_logical_to_ino
There's only one function we pass to iterate_inodes_from_logical as iterator, so we can drop the indirection and call it directly, after moving the function to backref.c 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 ba454032dbe2..2759de7d324c 100644
--- a/fs/btrfs/backref.h
+++ b/fs/btrfs/backref.h
@@ -35,8 +35,7 @@ int iterate_extent_inodes(struct btrfs_fs_info *fs_info,
bool ignore_offset);
int iterate_inodes_from_logical(u64 logical, struct btrfs_fs_info *fs_info,
- struct btrfs_path *path,
- iterate_extent_inodes_t *iterate, void *ctx,
+ struct btrfs_path *path, void *ctx,
bool ignore_offset);
int paths_from_inode(u64 inum, struct inode_fs_paths *ipath);