summaryrefslogtreecommitdiffstats
path: root/fs/9p/vfs_inode_dotl.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2011-02-28 12:34:05 +0100
committerEric Van Hensbergen <ericvh@gmail.com>2011-03-15 15:57:40 +0100
commitb271ec47bc11deacb6a0373ee29965ab628e74b2 (patch)
treef7f1e85136b98b2da6fcc53b3a04e23a4658285d /fs/9p/vfs_inode_dotl.c
parentfs/9p: Add drop_inode 9p callback (diff)
downloadlinux-b271ec47bc11deacb6a0373ee29965ab628e74b2.tar.xz
linux-b271ec47bc11deacb6a0373ee29965ab628e74b2.zip
fs/9p: Update link count correctly on different file system operations
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'fs/9p/vfs_inode_dotl.c')
-rw-r--r--fs/9p/vfs_inode_dotl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/9p/vfs_inode_dotl.c b/fs/9p/vfs_inode_dotl.c
index 984594123abe..c6d9677dcb6e 100644
--- a/fs/9p/vfs_inode_dotl.c
+++ b/fs/9p/vfs_inode_dotl.c
@@ -371,7 +371,7 @@ static int v9fs_vfs_mkdir_dotl(struct inode *dir,
}
/* Now set the ACL based on the default value */
v9fs_set_create_acl(dentry, dacl, pacl);
-
+ inc_nlink(dir);
error:
if (fid)
p9_client_clunk(fid);