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)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 19 Mar 2009 19:35:49 +0000 (15:35 -0400)
commitb1e4adf4ea41bb8b5a7bfc1a7001f137e65495df
tree2e244acb15347bfe749cd8758466e3351fde0cb6
parent47c62564200609b6de60f535f61f0c73dd10c7c9
NFS: Fix the notifications when renaming onto an existing file

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>
fs/nfs/dir.c