NFS: Fix the notifications when renaming onto an existing file
commit9edd58567e1fb5af1c8155d4753cbf8b0a3f358f
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 19 Mar 2009 19:35:49 +0000 (19 15:35 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 18 May 2009 23:35:14 +0000 (18 16:35 -0700)
tree8bd50924c98f7a4cc6476e26318a6d5d8265e194
parent824237356f629cf55af47468f1a4084771248c39
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