aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2008-09-05 16:43:29 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:04:07 -0400
commita237d2a2bd67eb2b57b87c1e1d3d802d078d4ba7 (patch)
tree86da675a6cb234c689f8b7da024d6e01164df2d1 /fs/btrfs/inode.c
parentad3d81ba8f2880dfa3ee518c779a7ea09a024520 (diff)
remove unused function btrfs_ilookup
btrfs_ilookup is unused, which is good because a normal filesystem should never have to use ilookup anyway. Remove it. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r--fs/btrfs/inode.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 65df9d830230..b4dbb5c97646 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -1818,19 +1818,6 @@ static int btrfs_find_actor(struct inode *inode, void *opaque)
1818 args->root == BTRFS_I(inode)->root); 1818 args->root == BTRFS_I(inode)->root);
1819} 1819}
1820 1820
1821struct inode *btrfs_ilookup(struct super_block *s, u64 objectid,
1822 u64 root_objectid)
1823{
1824 struct btrfs_iget_args args;
1825 args.ino = objectid;
1826 args.root = btrfs_lookup_fs_root(btrfs_sb(s)->fs_info, root_objectid);
1827
1828 if (!args.root)
1829 return NULL;
1830
1831 return ilookup5(s, objectid, btrfs_find_actor, (void *)&args);
1832}
1833
1834struct inode *btrfs_iget_locked(struct super_block *s, u64 objectid, 1821struct inode *btrfs_iget_locked(struct super_block *s, u64 objectid,
1835 struct btrfs_root *root) 1822 struct btrfs_root *root)
1836{ 1823{