From db5e8f9d34b09443b29ef5656afdacbc07c6f1c7 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Thu, 7 Oct 2010 13:21:04 -0400 Subject: [PATCH] ERR_STALE: skip recovery on NULL path Signed-off-by: Casey Bodley --- daemon/nfs41_compound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/nfs41_compound.c b/daemon/nfs41_compound.c index 15fe128..033e5b5 100644 --- a/daemon/nfs41_compound.c +++ b/daemon/nfs41_compound.c @@ -304,7 +304,7 @@ retry: if (argarray[i].op == OP_PUTFH) { putfh = (nfs41_putfh_args*)argarray[i].arg; - if (!putfh->in_recovery) + if (!putfh->in_recovery && putfh->file->path) nfs41_name_cache_remove_stale(name_cache, session, putfh->file->path); }