aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfsfh.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd/nfsfh.c')
-rw-r--r--fs/nfsd/nfsfh.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfsd/nfsfh.c b/fs/nfsd/nfsfh.c
index 180e068ea064..22cb5be79ad0 100644
--- a/fs/nfsd/nfsfh.c
+++ b/fs/nfsd/nfsfh.c
@@ -120,8 +120,6 @@ fh_verify(struct svc_rqst *rqstp, struct svc_fh *fhp, int type, int access)
120 int data_left = fh->fh_size/4; 120 int data_left = fh->fh_size/4;
121 121
122 error = nfserr_stale; 122 error = nfserr_stale;
123 if (rqstp->rq_client == NULL)
124 goto out;
125 if (rqstp->rq_vers > 2) 123 if (rqstp->rq_vers > 2)
126 error = nfserr_badhandle; 124 error = nfserr_badhandle;
127 if (rqstp->rq_vers == 4 && fh->fh_size == 0) 125 if (rqstp->rq_vers == 4 && fh->fh_size == 0)