]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/nfsd/nfs3acl.c
[SCSI] lpfc 8.3.40: Fix lpfc_used_cpu to be more dynamic
[karo-tx-linux.git] / fs / nfsd / nfs3acl.c
index a596e9d987e46abb499ee8ac6dcd44472d02bc71..9cbc1a841f87b39d47e81f40cf1e8eac6161a3d2 100644 (file)
@@ -184,7 +184,7 @@ static int nfs3svc_encode_getaclres(struct svc_rqst *rqstp, __be32 *p,
                        (resp->mask & NFS_ACL)   ? resp->acl_access  : NULL,
                        (resp->mask & NFS_DFACL) ? resp->acl_default : NULL);
                while (w > 0) {
-                       if (!rqstp->rq_respages[rqstp->rq_resused++])
+                       if (!*(rqstp->rq_next_page++))
                                return 0;
                        w -= PAGE_SIZE;
                }