|
@@ -4504,7 +4504,8 @@ out:
|
|
/*
|
|
/*
|
|
* FS_LOCATIONS request
|
|
* FS_LOCATIONS request
|
|
*/
|
|
*/
|
|
-static int nfs4_xdr_dec_fs_locations(struct rpc_rqst *req, __be32 *p, struct nfs4_fs_locations *res)
|
|
|
|
|
|
+static int nfs4_xdr_dec_fs_locations(struct rpc_rqst *req, __be32 *p,
|
|
|
|
+ struct nfs4_fs_locations_res *res)
|
|
{
|
|
{
|
|
struct xdr_stream xdr;
|
|
struct xdr_stream xdr;
|
|
struct compound_hdr hdr;
|
|
struct compound_hdr hdr;
|
|
@@ -4519,7 +4520,8 @@ static int nfs4_xdr_dec_fs_locations(struct rpc_rqst *req, __be32 *p, struct nfs
|
|
if ((status = decode_lookup(&xdr)) != 0)
|
|
if ((status = decode_lookup(&xdr)) != 0)
|
|
goto out;
|
|
goto out;
|
|
xdr_enter_page(&xdr, PAGE_SIZE);
|
|
xdr_enter_page(&xdr, PAGE_SIZE);
|
|
- status = decode_getfattr(&xdr, &res->fattr, res->server);
|
|
|
|
|
|
+ status = decode_getfattr(&xdr, &res->fs_locations->fattr,
|
|
|
|
+ res->fs_locations->server);
|
|
out:
|
|
out:
|
|
return status;
|
|
return status;
|
|
}
|
|
}
|