mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 21:51:05 +00:00
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>
This commit is contained in:
parent
ad3d81ba8f
commit
a237d2a2bd
2 changed files with 0 additions and 15 deletions
|
@ -1818,19 +1818,6 @@ static int btrfs_find_actor(struct inode *inode, void *opaque)
|
|||
args->root == BTRFS_I(inode)->root);
|
||||
}
|
||||
|
||||
struct inode *btrfs_ilookup(struct super_block *s, u64 objectid,
|
||||
u64 root_objectid)
|
||||
{
|
||||
struct btrfs_iget_args args;
|
||||
args.ino = objectid;
|
||||
args.root = btrfs_lookup_fs_root(btrfs_sb(s)->fs_info, root_objectid);
|
||||
|
||||
if (!args.root)
|
||||
return NULL;
|
||||
|
||||
return ilookup5(s, objectid, btrfs_find_actor, (void *)&args);
|
||||
}
|
||||
|
||||
struct inode *btrfs_iget_locked(struct super_block *s, u64 objectid,
|
||||
struct btrfs_root *root)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue