fs/9p: We should not allocate a new inode when creating hardlines.
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 5 Jan 2012 16:42:17 +0000 (10:42 -0600)
committerEric Van Hensbergen <ericvh@gmail.com>
Thu, 5 Jan 2012 16:51:44 +0000 (10:51 -0600)
Don't do new_inode_from fid in case of hardlink creation. This ensures
that link count for hardlink files get updated properly. Earlier link count
was not updated on removing a hardlink with cache mode enabled.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>

No differences found