diff options
-rw-r--r-- | xlators/nfs/server/src/nfs3-helpers.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/xlators/nfs/server/src/nfs3-helpers.c b/xlators/nfs/server/src/nfs3-helpers.c index 0ae67b455..f16bcac6f 100644 --- a/xlators/nfs/server/src/nfs3-helpers.c +++ b/xlators/nfs/server/src/nfs3-helpers.c @@ -2822,11 +2822,8 @@ nfs3_fh_resolve_entry (nfs3_call_state_t *cs) return ret; ret = nfs3_fh_resolve_entry_hard (cs); - if (ret < 0) { - cs->resolve_ret = -1; - cs->resolve_errno = ESTALE; - nfs3_call_resume (cs); - } + if (ret < 0) + nfs3_call_resume_estale (cs); return 0; } |