aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/backref.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2015-01-02 18:55:46 +0100
committerDavid Sterba <dsterba@suse.cz>2015-01-14 19:23:47 +0100
commit14692cc150d3ce10ea8766ccb2a8f483b77b49f0 (patch)
tree96954530d68d8a7d3ab9b3d741736f60b346d313 /fs/btrfs/backref.h
parentbtrfs: fix leak of path in btrfs_find_item (diff)
downloadlinux-dev-14692cc150d3ce10ea8766ccb2a8f483b77b49f0.tar.xz
linux-dev-14692cc150d3ce10ea8766ccb2a8f483b77b49f0.zip
btrfs: cleanup, remove inode_item_info helper
It's only a simple wrapper around btrfs_find_item, the locally defined key is not used. Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/backref.h')
-rw-r--r--fs/btrfs/backref.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/backref.h b/fs/btrfs/backref.h
index 2a1ac6bfc724..9c41fbac3009 100644
--- a/fs/btrfs/backref.h
+++ b/fs/btrfs/backref.h
@@ -32,9 +32,6 @@ struct inode_fs_paths {
typedef int (iterate_extent_inodes_t)(u64 inum, u64 offset, u64 root,
void *ctx);
-int inode_item_info(u64 inum, u64 ioff, struct btrfs_root *fs_root,
- struct btrfs_path *path);
-
int extent_from_logical(struct btrfs_fs_info *fs_info, u64 logical,
struct btrfs_path *path, struct btrfs_key *found_key,
u64 *flags);