commit | b6054793069bf08fcf220fff5fb33735d5493594 | [log] [tgz] |
---|---|---|
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | Thu Jan 05 10:42:17 2012 -0600 |
committer | Eric Van Hensbergen <ericvh@gmail.com> | Thu Jan 05 10:51:44 2012 -0600 |
tree | 44e4e3bded86642f35d183be9166ac78c1629a11 | |
parent | df345c674b6366952a21a67604c8f6d489bb7ea7 [diff] |
fs/9p: We should not allocate a new inode when creating hardlines. 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>