aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/ctree.h2
-rw-r--r--fs/btrfs/inode.c13
2 files changed, 0 insertions, 15 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index f720b582fd5b..754c738ec2e8 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -1763,8 +1763,6 @@ void btrfs_destroy_cachep(void);
1763long btrfs_ioctl_trans_end(struct file *file); 1763long btrfs_ioctl_trans_end(struct file *file);
1764struct inode *btrfs_iget_locked(struct super_block *s, u64 objectid, 1764struct inode *btrfs_iget_locked(struct super_block *s, u64 objectid,
1765 struct btrfs_root *root); 1765 struct btrfs_root *root);
1766struct inode *btrfs_ilookup(struct super_block *s, u64 objectid,
1767 u64 root_objectid);
1768struct inode *btrfs_iget(struct super_block *s, struct btrfs_key *location, 1766struct inode *btrfs_iget(struct super_block *s, struct btrfs_key *location,
1769 struct btrfs_root *root, int *is_new); 1767 struct btrfs_root *root, int *is_new);
1770int btrfs_commit_write(struct file *file, struct page *page, 1768int btrfs_commit_write(struct file *file, struct page *page,
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{