Commit 94e254af authored by Chuck Lever's avatar Chuck Lever

NFSD: Replace READ* macros in nfsd4_decode_destroy_session()

Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 81243e3f
...@@ -1678,11 +1678,7 @@ static __be32 ...@@ -1678,11 +1678,7 @@ static __be32
nfsd4_decode_destroy_session(struct nfsd4_compoundargs *argp, nfsd4_decode_destroy_session(struct nfsd4_compoundargs *argp,
struct nfsd4_destroy_session *destroy_session) struct nfsd4_destroy_session *destroy_session)
{ {
DECODE_HEAD; return nfsd4_decode_sessionid4(argp, &destroy_session->sessionid);
READ_BUF(NFS4_MAX_SESSIONID_LEN);
COPYMEM(destroy_session->sessionid.data, NFS4_MAX_SESSIONID_LEN);
DECODE_TAIL;
} }
static __be32 static __be32
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment