nfsd4: tweak nfsd4_encode_getattr to take xdr_stream
[firefly-linux-kernel-4.4.55.git] / fs / nfsd / xdr4.h
index 6884d70363b54c2056aaed632ab88ae727fa5840..f62a055bf63c17c90d19608f31e5988891dc0c43 100644 (file)
@@ -562,9 +562,10 @@ int nfs4svc_encode_compoundres(struct svc_rqst *, __be32 *,
 __be32 nfsd4_check_resp_size(struct nfsd4_compoundres *, u32);
 void nfsd4_encode_operation(struct nfsd4_compoundres *, struct nfsd4_op *);
 void nfsd4_encode_replay(struct nfsd4_compoundres *resp, struct nfsd4_op *op);
-__be32 nfsd4_encode_fattr(struct svc_fh *fhp, struct svc_export *exp,
-                      struct dentry *dentry, __be32 **buffer, int countp,
-                      u32 *bmval, struct svc_rqst *, int ignore_crossmnt);
+__be32 nfsd4_encode_fattr_to_buf(__be32 **p, int words,
+               struct svc_fh *fhp, struct svc_export *exp,
+               struct dentry *dentry,
+               u32 *bmval, struct svc_rqst *, int ignore_crossmnt);
 extern __be32 nfsd4_setclientid(struct svc_rqst *rqstp,
                struct nfsd4_compound_state *,
                struct nfsd4_setclientid *setclid);