NFSD: Replace READ* macros in nfsd4_decode_destroy_session()
[ Upstream commit 94e254af1f873b4b551db4c4549294f2c4d385ef ] Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
73684a8118
commit
92ae309a99
@ -1678,11 +1678,7 @@ static __be32
|
||||
nfsd4_decode_destroy_session(struct nfsd4_compoundargs *argp,
|
||||
struct nfsd4_destroy_session *destroy_session)
|
||||
{
|
||||
DECODE_HEAD;
|
||||
READ_BUF(NFS4_MAX_SESSIONID_LEN);
|
||||
COPYMEM(destroy_session->sessionid.data, NFS4_MAX_SESSIONID_LEN);
|
||||
|
||||
DECODE_TAIL;
|
||||
return nfsd4_decode_sessionid4(argp, &destroy_session->sessionid);
|
||||
}
|
||||
|
||||
static __be32
|
||||
|
Loading…
x
Reference in New Issue
Block a user