diff options
Diffstat (limited to 'fs/nfs/nfs4xdr.c')
-rw-r--r-- | fs/nfs/nfs4xdr.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c index aa350d5bf207..e448e33b4d05 100644 --- a/fs/nfs/nfs4xdr.c +++ b/fs/nfs/nfs4xdr.c | |||
@@ -4504,7 +4504,8 @@ out: | |||
4504 | /* | 4504 | /* |
4505 | * FS_LOCATIONS request | 4505 | * FS_LOCATIONS request |
4506 | */ | 4506 | */ |
4507 | static int nfs4_xdr_dec_fs_locations(struct rpc_rqst *req, __be32 *p, struct nfs4_fs_locations *res) | 4507 | static int nfs4_xdr_dec_fs_locations(struct rpc_rqst *req, __be32 *p, |
4508 | struct nfs4_fs_locations_res *res) | ||
4508 | { | 4509 | { |
4509 | struct xdr_stream xdr; | 4510 | struct xdr_stream xdr; |
4510 | struct compound_hdr hdr; | 4511 | struct compound_hdr hdr; |
@@ -4519,7 +4520,8 @@ static int nfs4_xdr_dec_fs_locations(struct rpc_rqst *req, __be32 *p, struct nfs | |||
4519 | if ((status = decode_lookup(&xdr)) != 0) | 4520 | if ((status = decode_lookup(&xdr)) != 0) |
4520 | goto out; | 4521 | goto out; |
4521 | xdr_enter_page(&xdr, PAGE_SIZE); | 4522 | xdr_enter_page(&xdr, PAGE_SIZE); |
4522 | status = decode_getfattr(&xdr, &res->fattr, res->server); | 4523 | status = decode_getfattr(&xdr, &res->fs_locations->fattr, |
4524 | res->fs_locations->server); | ||
4523 | out: | 4525 | out: |
4524 | return status; | 4526 | return status; |
4525 | } | 4527 | } |