btrfs: cleanup, remove inode_item_info helper
[deliverable/linux.git] / fs / btrfs / backref.c
index 8729cf68d2fef5e41540283d74beba55285f59c5..6fdf82bb03d410b779ac5b9ac0182bf625d955b3 100644 (file)
@@ -1246,17 +1246,6 @@ int btrfs_check_shared(struct btrfs_trans_handle *trans,
        return ret;
 }
 
-/*
- * this makes the path point to (inum INODE_ITEM ioff)
- */
-int inode_item_info(u64 inum, u64 ioff, struct btrfs_root *fs_root,
-                       struct btrfs_path *path)
-{
-       struct btrfs_key key;
-       return btrfs_find_item(fs_root, path, inum, ioff,
-                       BTRFS_INODE_ITEM_KEY, &key);
-}
-
 static int inode_ref_info(u64 inum, u64 ioff, struct btrfs_root *fs_root,
                                struct btrfs_path *path,
                                struct btrfs_key *found_key)
This page took 0.023632 seconds and 5 git commands to generate.