summaryrefslogtreecommitdiffstats
path: root/fs/ceph/mds_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ceph/mds_client.c')
-rw-r--r--fs/ceph/mds_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c
index 603786b564b..b7bda5d9611 100644
--- a/fs/ceph/mds_client.c
+++ b/fs/ceph/mds_client.c
@@ -1054,7 +1054,7 @@ static void remove_session_caps(struct ceph_mds_session *session)
vino = cap->ci->i_vino;
spin_unlock(&session->s_cap_lock);
- inode = ceph_lookup_inode(sb, vino);
+ inode = ceph_find_inode(sb, vino);
iput(inode);
spin_lock(&session->s_cap_lock);