From: Yue Hu <[email protected]> No users for this helper.
Signed-off-by: Yue Hu <[email protected]> --- lib/inode.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/inode.c b/lib/inode.c index bcb0986..b508c73 100644 --- a/lib/inode.c +++ b/lib/inode.c @@ -94,18 +94,6 @@ struct erofs_inode *erofs_iget(dev_t dev, ino_t ino) return NULL; } -struct erofs_inode *erofs_iget_by_nid(erofs_nid_t nid) -{ - struct list_head *head = - &inode_hashtable[nid % NR_INODE_HASHTABLE]; - struct erofs_inode *inode; - - list_for_each_entry(inode, head, i_hash) - if (inode->nid == nid) - return erofs_igrab(inode); - return NULL; -} - unsigned int erofs_iput(struct erofs_inode *inode) { struct erofs_dentry *d, *t; -- 2.17.1
