aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p/vfs_inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/9p/vfs_inode.c')
-rw-r--r--fs/9p/vfs_inode.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c
index 8e9d60345bc8..524d255a5748 100644
--- a/fs/9p/vfs_inode.c
+++ b/fs/9p/vfs_inode.c
@@ -1292,8 +1292,10 @@ v9fs_vfs_link(struct dentry *old_dentry, struct inode *dir,
1292 sprintf(name, "%d\n", oldfid->fid); 1292 sprintf(name, "%d\n", oldfid->fid);
1293 retval = v9fs_vfs_mkspecial(dir, dentry, P9_DMLINK, name); 1293 retval = v9fs_vfs_mkspecial(dir, dentry, P9_DMLINK, name);
1294 __putname(name); 1294 __putname(name);
1295 if (!retval) 1295 if (!retval) {
1296 v9fs_refresh_inode(oldfid, old_dentry->d_inode);
1296 v9fs_invalidate_inode_attr(dir); 1297 v9fs_invalidate_inode_attr(dir);
1298 }
1297clunk_fid: 1299clunk_fid:
1298 p9_client_clunk(oldfid); 1300 p9_client_clunk(oldfid);
1299 return retval; 1301 return retval;