cifs: fix renaming one hardlink on top of another
commitae6884a9da56f8921e432e663b4ccb4a1851b2ea
authorJeff Layton <jlayton@redhat.com>
Mon, 3 Nov 2008 19:05:08 +0000 (3 14:05 -0500)
committerSteve French <sfrench@us.ibm.com>
Mon, 3 Nov 2008 18:31:05 +0000 (3 18:31 +0000)
treeec80aca419ad61b7585ef0da64fac4d968ced224
parent61de800d33af585cb7e6f27b5cdd51029c6855cb
cifs: fix renaming one hardlink on top of another

cifs: fix renaming one hardlink on top of another

POSIX says that renaming one hardlink on top of another to the same
inode is a no-op. We had the logic mostly right, but forgot to clear
the return code.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/inode.c