From: Miklos Szeredi Date: Thu, 3 Dec 2009 20:58:56 +0000 (-0500) Subject: nfs: dont unhash target if renaming a directory X-Git-Tag: v2.6.33-rc1~287^2^2~43^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27226104e60964f21717e0f452cecd45c85a64c6;p=pandora-kernel.git nfs: dont unhash target if renaming a directory Move unhashing the target to after the check for existence and being a non-directory. If renaming a directory then the VFS already unhashes the target if it is not busy. If it's busy then acquiring more references during the rename makes no difference. Signed-off-by: Miklos Szeredi Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed