summaryrefslogtreecommitdiff
path: root/fs/ceph/inode.c
diff options
context:
space:
mode:
authorYan, Zheng <zheng.z.yan@intel.com>2013-09-02 11:19:53 +0400
committerSage Weil <sage@inktank.com>2013-09-06 23:55:09 +0400
commited284c49f61165c3ba1b4e6969d1cc30a769c31b (patch)
treebfa19bc2645332a953b8c73bcc9f1abff6e3f9d1 /fs/ceph/inode.c
parent971f0bdeaabac4fcc335dace2f98e79157db4302 (diff)
downloadlinux-ed284c49f61165c3ba1b4e6969d1cc30a769c31b.tar.xz
ceph: remove ceph_lookup_inode()
commit 6f60f889 (ceph: fix freeing inode vs removing session caps race) introduced ceph_lookup_inode(). But there is already a ceph_find_inode() which provides similar function. So remove ceph_lookup_inode(), use ceph_find_inode() instead. Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com> Reviewed-by: Alex Elder <alex.elder@linary.org> Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'fs/ceph/inode.c')
-rw-r--r--fs/ceph/inode.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/ceph/inode.c b/fs/ceph/inode.c
index eae41cd73276..8549a48115f7 100644
--- a/fs/ceph/inode.c
+++ b/fs/ceph/inode.c
@@ -62,14 +62,6 @@ struct inode *ceph_get_inode(struct super_block *sb, struct ceph_vino vino)
return inode;
}
-struct inode *ceph_lookup_inode(struct super_block *sb, struct ceph_vino vino)
-{
- struct inode *inode;
- ino_t t = ceph_vino_to_ino(vino);
- inode = ilookup5_nowait(sb, t, ceph_ino_compare, &vino);
- return inode;
-}
-
/*
* get/constuct snapdir inode for a given directory
*/