Merge tag 'core-rcu-2021-02-17' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / fs / nfsd / nfsfh.c
index 66f2ef6..4744a27 100644 (file)
@@ -349,7 +349,7 @@ out:
 __be32
 fh_verify(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type, int access)
 {
-       struct svc_export *exp;
+       struct svc_export *exp = NULL;
        struct dentry   *dentry;
        __be32          error;
 
@@ -422,7 +422,7 @@ skip_pseudoflavor_check:
        }
 out:
        if (error == nfserr_stale)
-               nfsdstats.fh_stale++;
+               nfsd_stats_fh_stale_inc(exp);
        return error;
 }