aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs3xdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/nfs3xdr.c')
-rw-r--r--fs/nfs/nfs3xdr.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/fs/nfs/nfs3xdr.c b/fs/nfs/nfs3xdr.c
index fa6d72131c19..8f4cbe7f4aa8 100644
--- a/fs/nfs/nfs3xdr.c
+++ b/fs/nfs/nfs3xdr.c
@@ -953,7 +953,7 @@ static void nfs3_xdr_enc_readlink3args(struct rpc_rqst *req,
953 * }; 953 * };
954 */ 954 */
955static void encode_read3args(struct xdr_stream *xdr, 955static void encode_read3args(struct xdr_stream *xdr,
956 const struct nfs_readargs *args) 956 const struct nfs_pgio_args *args)
957{ 957{
958 __be32 *p; 958 __be32 *p;
959 959
@@ -966,7 +966,7 @@ static void encode_read3args(struct xdr_stream *xdr,
966 966
967static void nfs3_xdr_enc_read3args(struct rpc_rqst *req, 967static void nfs3_xdr_enc_read3args(struct rpc_rqst *req,
968 struct xdr_stream *xdr, 968 struct xdr_stream *xdr,
969 const struct nfs_readargs *args) 969 const struct nfs_pgio_args *args)
970{ 970{
971 encode_read3args(xdr, args); 971 encode_read3args(xdr, args);
972 prepare_reply_buffer(req, args->pages, args->pgbase, 972 prepare_reply_buffer(req, args->pages, args->pgbase,
@@ -992,7 +992,7 @@ static void nfs3_xdr_enc_read3args(struct rpc_rqst *req,
992 * }; 992 * };
993 */ 993 */
994static void encode_write3args(struct xdr_stream *xdr, 994static void encode_write3args(struct xdr_stream *xdr,
995 const struct nfs_writeargs *args) 995 const struct nfs_pgio_args *args)
996{ 996{
997 __be32 *p; 997 __be32 *p;
998 998
@@ -1008,7 +1008,7 @@ static void encode_write3args(struct xdr_stream *xdr,
1008 1008
1009static void nfs3_xdr_enc_write3args(struct rpc_rqst *req, 1009static void nfs3_xdr_enc_write3args(struct rpc_rqst *req,
1010 struct xdr_stream *xdr, 1010 struct xdr_stream *xdr,
1011 const struct nfs_writeargs *args) 1011 const struct nfs_pgio_args *args)
1012{ 1012{
1013 encode_write3args(xdr, args); 1013 encode_write3args(xdr, args);
1014 xdr->buf->flags |= XDRBUF_WRITE; 1014 xdr->buf->flags |= XDRBUF_WRITE;
@@ -1589,7 +1589,7 @@ out_default:
1589 * }; 1589 * };
1590 */ 1590 */
1591static int decode_read3resok(struct xdr_stream *xdr, 1591static int decode_read3resok(struct xdr_stream *xdr,
1592 struct nfs_readres *result) 1592 struct nfs_pgio_res *result)
1593{ 1593{
1594 u32 eof, count, ocount, recvd; 1594 u32 eof, count, ocount, recvd;
1595 __be32 *p; 1595 __be32 *p;
@@ -1625,7 +1625,7 @@ out_overflow:
1625} 1625}
1626 1626
1627static int nfs3_xdr_dec_read3res(struct rpc_rqst *req, struct xdr_stream *xdr, 1627static int nfs3_xdr_dec_read3res(struct rpc_rqst *req, struct xdr_stream *xdr,
1628 struct nfs_readres *result) 1628 struct nfs_pgio_res *result)
1629{ 1629{
1630 enum nfs_stat status; 1630 enum nfs_stat status;
1631 int error; 1631 int error;
@@ -1673,7 +1673,7 @@ out_status:
1673 * }; 1673 * };
1674 */ 1674 */
1675static int decode_write3resok(struct xdr_stream *xdr, 1675static int decode_write3resok(struct xdr_stream *xdr,
1676 struct nfs_writeres *result) 1676 struct nfs_pgio_res *result)
1677{ 1677{
1678 __be32 *p; 1678 __be32 *p;
1679 1679
@@ -1697,7 +1697,7 @@ out_eio:
1697} 1697}
1698 1698
1699static int nfs3_xdr_dec_write3res(struct rpc_rqst *req, struct xdr_stream *xdr, 1699static int nfs3_xdr_dec_write3res(struct rpc_rqst *req, struct xdr_stream *xdr,
1700 struct nfs_writeres *result) 1700 struct nfs_pgio_res *result)
1701{ 1701{
1702 enum nfs_stat status; 1702 enum nfs_stat status;
1703 int error; 1703 int error;