]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/nfsd/nfs3acl.c
Merge branch 'submit1' of viper:/spare/repo/irq-remove-2.6 into irqcleanups
[linux-2.6-omap-h63xx.git] / fs / nfsd / nfs3acl.c
index 16e10c170aedf33276def7ad26711bbe5ad4f6cc..d4bdc00c1169cc3f462a1fe11e2ebae0e72b15a9 100644 (file)
@@ -185,7 +185,7 @@ static int nfs3svc_encode_getaclres(struct svc_rqst *rqstp, u32 *p,
 
                rqstp->rq_res.page_len = w;
                while (w > 0) {
-                       if (!svc_take_res_page(rqstp))
+                       if (!rqstp->rq_respages[rqstp->rq_resused++])
                                return 0;
                        w -= PAGE_SIZE;
                }
@@ -263,5 +263,6 @@ struct svc_version  nfsd_acl_version3 = {
                .vs_proc        = nfsd_acl_procedures3,
                .vs_dispatch    = nfsd_dispatch,
                .vs_xdrsize     = NFS3_SVC_XDRSIZE,
+               .vs_hidden      = 1,
 };