diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2020-11-04 13:50:55 -0500 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2020-11-30 14:46:41 -0500 |
commit | 94e254af1f873b4b551db4c4549294f2c4d385ef (patch) | |
tree | dfd484f57d9642aa5ff8b86eef8f6cc09d56469e /fs/nfsd/nfs4xdr.c | |
parent | 81243e3fe37ed547fc4ed8aab1cec2865540bb18 (diff) | |
download | linux-94e254af1f873b4b551db4c4549294f2c4d385ef.tar.bz2 |
NFSD: Replace READ* macros in nfsd4_decode_destroy_session()
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/nfs4xdr.c')
-rw-r--r-- | fs/nfsd/nfs4xdr.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index 7b38ecd1541b..f578bdb9fb8d 100644 --- a/fs/nfsd/nfs4xdr.c +++ b/fs/nfsd/nfs4xdr.c @@ -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 |