NFS: Fix the notifications when renaming onto an existing file
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 19 Mar 2009 19:35:49 +0000 (15:35 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 May 2009 05:20:14 +0000 (22:20 -0700)
commit3dfc48ed4761449e83df1b24a6791a80fe5487a3
tree37162e273d7afc5f8d5495e0a22b7183f7014618
parent7af264b6aab8c3bd89c61751b793a8f6a8e64173
NFS: Fix the notifications when renaming onto an existing file

commit b1e4adf4ea41bb8b5a7bfc1a7001f137e65495df upstream.

NFS appears to be returning an unnecessary "delete" notification when
we're doing an atomic rename. See

  http://bugzilla.gnome.org/show_bug.cgi?id=575684

The fix is to get rid of the redundant call to d_delete().

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/nfs/dir.c