summaryrefslogtreecommitdiff
path: root/fs/nfs/namespace.c
diff options
context:
space:
mode:
authorBenjamin Coddington <bcodding@redhat.com>2017-03-15 21:50:09 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-03-27 13:30:49 -0400
commitd4ea7e3c5c0e341c15b073016dbf3ab6c65f12f3 (patch)
tree607ac546dba0a5280694edd08c00336d11d05a2f /fs/nfs/namespace.c
parentda066f3f039eba3e72e97b2ccad0dd8b45ba84bd (diff)
NFS: Fix old dentry rehash after move
Now that nfs_rename()'s d_move has moved within the RPC task's rpc_call_done callback, rehashing new_dentry will actually rehash the old dentry's name in nfs_rename(). d_move() is going to rehash the new dentry for us anyway, so doing it again here is unnecessary. Reported-by: Chuck Lever <chuck.lever@oracle.com> Fixes: 920b4530fb80 ("NFS: nfs_rename() handle -ERESTARTSYS dentry left behind") Signed-off-by: Benjamin Coddington <bcodding@redhat.com> Tested-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/namespace.c')
0 files changed, 0 insertions, 0 deletions