NFSD: Replace READ* macros in nfsd4_decode_copy_notify()
[ Upstream commit f9a953fb369bbd2135ccead3393ec1ef66544471 ] Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
8604d294c1
commit
c2d2a919b2
@ -2032,25 +2032,25 @@ nfsd4_decode_copy(struct nfsd4_compoundargs *argp, struct nfsd4_copy *copy)
|
||||
return nfs_ok;
|
||||
}
|
||||
|
||||
static __be32
|
||||
nfsd4_decode_offload_status(struct nfsd4_compoundargs *argp,
|
||||
struct nfsd4_offload_status *os)
|
||||
{
|
||||
return nfsd4_decode_stateid(argp, &os->stateid);
|
||||
}
|
||||
|
||||
static __be32
|
||||
nfsd4_decode_copy_notify(struct nfsd4_compoundargs *argp,
|
||||
struct nfsd4_copy_notify *cn)
|
||||
{
|
||||
__be32 status;
|
||||
|
||||
status = nfsd4_decode_stateid(argp, &cn->cpn_src_stateid);
|
||||
status = nfsd4_decode_stateid4(argp, &cn->cpn_src_stateid);
|
||||
if (status)
|
||||
return status;
|
||||
return nfsd4_decode_nl4_server(argp, &cn->cpn_dst);
|
||||
}
|
||||
|
||||
static __be32
|
||||
nfsd4_decode_offload_status(struct nfsd4_compoundargs *argp,
|
||||
struct nfsd4_offload_status *os)
|
||||
{
|
||||
return nfsd4_decode_stateid(argp, &os->stateid);
|
||||
}
|
||||
|
||||
static __be32
|
||||
nfsd4_decode_seek(struct nfsd4_compoundargs *argp, struct nfsd4_seek *seek)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user