fs: Remove i_nlink check from file system link callback
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sat, 29 Jan 2011 13:13:30 +0000 (18:43 +0530)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 15 Mar 2011 06:21:44 +0000 (02:21 -0400)
commitf17b6042073e7000a90063f7edbca59a5bd1caa2
treee893485df882c770da602030c6c1098b11ea3d56
parentaae8a97d3ec30788790d1720b71d76fd8eb44b73
fs: Remove i_nlink check from file system link callback

Now that VFS check for inode->i_nlink == 0 and returns proper
error, remove similar check from file system

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/btrfs/inode.c
fs/ext3/namei.c
fs/ext4/namei.c
fs/jfs/namei.c
fs/reiserfs/namei.c
fs/ubifs/dir.c