Merge tag 'ceph-for-5.20-rc1' of https://github.com/ceph/ceph-client
[linux-2.6-microblaze.git] / fs / 9p / vfs_dentry.c
index 1c609e9..f89f017 100644 (file)
@@ -54,7 +54,7 @@ static void v9fs_dentry_release(struct dentry *dentry)
        p9_debug(P9_DEBUG_VFS, " dentry: %pd (%p)\n",
                 dentry, dentry);
        hlist_for_each_safe(p, n, (struct hlist_head *)&dentry->d_fsdata)
-               p9_client_clunk(hlist_entry(p, struct p9_fid, dlist));
+               p9_fid_put(hlist_entry(p, struct p9_fid, dlist));
        dentry->d_fsdata = NULL;
 }
 
@@ -85,7 +85,7 @@ static int v9fs_lookup_revalidate(struct dentry *dentry, unsigned int flags)
                        retval = v9fs_refresh_inode_dotl(fid, inode);
                else
                        retval = v9fs_refresh_inode(fid, inode);
-               p9_client_clunk(fid);
+               p9_fid_put(fid);
 
                if (retval == -ENOENT)
                        return 0;