aboutsummaryrefslogtreecommitdiffstats
path: root/fs/reiserfs
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2011-01-29 18:43:27 +0530
committerAl Viro <viro@zeniv.linux.org.uk>2011-03-15 02:21:44 -0400
commitaae8a97d3ec30788790d1720b71d76fd8eb44b73 (patch)
tree12dbe7afc10da3eee7ce5dfcf389b655634737e0 /fs/reiserfs
parentbecfd1f37544798cbdfd788f32c827160fab98c1 (diff)
downloadkernel_samsung_smdk4412-aae8a97d3ec30788790d1720b71d76fd8eb44b73.zip
kernel_samsung_smdk4412-aae8a97d3ec30788790d1720b71d76fd8eb44b73.tar.gz
kernel_samsung_smdk4412-aae8a97d3ec30788790d1720b71d76fd8eb44b73.tar.bz2
fs: Don't allow to create hardlink for deleted file
Add inode->i_nlink == 0 check in VFS. Some of the file systems do this internally. A followup patch will remove those instance. This is needed to ensure that with link by handle we don't allow to create hardlink of an unlinked file. The check also prevent a race between unlink and link Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/reiserfs')
0 files changed, 0 insertions, 0 deletions