mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 22:54:05 +08:00
NFSD: Replace READ* macros in nfsd4_decode_free_stateid()
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
This commit is contained in:
parent
94e254af1f
commit
aec387d590
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user