NFSD: Replace READ* macros in nfsd4_decode_free_stateid()

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
This commit is contained in:
Chuck Lever 2020-11-01 13:38:27 -05:00
parent 94e254af1f
commit aec387d590

View File

@ -1685,13 +1685,7 @@ static __be32
nfsd4_decode_free_stateid(struct nfsd4_compoundargs *argp, nfsd4_decode_free_stateid(struct nfsd4_compoundargs *argp,
struct nfsd4_free_stateid *free_stateid) struct nfsd4_free_stateid *free_stateid)
{ {
DECODE_HEAD; return nfsd4_decode_stateid4(argp, &free_stateid->fr_stateid);
READ_BUF(sizeof(stateid_t));
free_stateid->fr_stateid.si_generation = be32_to_cpup(p++);
COPYMEM(&free_stateid->fr_stateid.si_opaque, sizeof(stateid_opaque_t));
DECODE_TAIL;
} }
static __be32 static __be32