commit | 920b4530fb80430ff30ef83efe21ba1fa5623731 | [log] [tgz] |
---|---|---|
author | Benjamin Coddington <bcodding@redhat.com> | Wed Feb 01 00:00:07 2017 -0500 |
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Wed Feb 08 17:02:44 2017 -0500 |
tree | e09a3508c339c4f6feeba20f14a7104e77370a03 | |
parent | 68e33bd6bbb79819e5cb7bce26559191b144c465 [diff] |
NFS: nfs_rename() handle -ERESTARTSYS dentry left behind An interrupted rename will leave the old dentry behind if the rename succeeds. Fix this by moving the final local work of the rename to rpc_call_done so that the results of the RENAME can always be handled, even if the original process has already returned with -ERESTARTSYS. Signed-off-by: Benjamin Coddington <bcodding@redhat.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>