diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2012-01-05 10:42:17 -0600 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2012-01-05 10:51:44 -0600 |
commit | b6054793069bf08fcf220fff5fb33735d5493594 (patch) | |
tree | 44e4e3bded86642f35d183be9166ac78c1629a11 /fs/9p/acl.h | |
parent | fs/9p: v9fs_stat2inode should update suid/sgid bits. (diff) | |
download | linux-dev-b6054793069bf08fcf220fff5fb33735d5493594.tar.xz linux-dev-b6054793069bf08fcf220fff5fb33735d5493594.zip |
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>
Diffstat (limited to 'fs/9p/acl.h')
0 files changed, 0 insertions, 0 deletions