From: Miklos Szeredi Date: Thu, 3 Dec 2009 20:58:56 +0000 (-0500) Subject: nfs: clean up sillyrenaming in nfs_rename() X-Git-Tag: v2.6.33-rc1~287^2^2~43^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24e93025ee434a58d35e5abb283c5bcc9a13e477;p=pandora-kernel.git nfs: clean up sillyrenaming in nfs_rename() The d_instantiate(new_dentry, NULL) is superfluous, the dentry is already negative. Rehashing this dummy dentry isn't needed either, d_move() works fine on an unhashed target. The re-checking for busy after a failed nfs_sillyrename() is bogus too: new_dentry->d_count < 2 would be a bug here. Signed-off-by: Miklos Szeredi Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed