diff options
author | Benjamin Coddington <bcodding@redhat.com> | 2017-02-01 08:00:07 +0300 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-02-09 01:02:44 +0300 |
commit | 920b4530fb80430ff30ef83efe21ba1fa5623731 (patch) | |
tree | e09a3508c339c4f6feeba20f14a7104e77370a03 /fs/dlm/dir.c | |
parent | 68e33bd6bbb79819e5cb7bce26559191b144c465 (diff) | |
download | linux-920b4530fb80430ff30ef83efe21ba1fa5623731.tar.xz |
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>
Diffstat (limited to 'fs/dlm/dir.c')
0 files changed, 0 insertions, 0 deletions