summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2020-11-21 22:14:59 +0300
committerChuck Lever <chuck.lever@oracle.com>2020-11-30 22:46:40 +0300
commit44592fe9479d8d4b88594365ab825f7b07afdf7c (patch)
tree917f1b82695a4f9166e4742b79622221d19aed50
parentd0abdae5191a916d767164f6fc6c0e2e814a20a7 (diff)
downloadlinux-44592fe9479d8d4b88594365ab825f7b07afdf7c.tar.xz
NFSD: Replace READ* macros in nfsd4_decode_setattr()
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
-rw-r--r--fs/nfsd/nfs4xdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c
index 76abd7af9107..a7ee5c79ff94 100644
--- a/fs/nfsd/nfs4xdr.c
+++ b/fs/nfsd/nfs4xdr.c
@@ -1298,7 +1298,7 @@ nfsd4_decode_setattr(struct nfsd4_compoundargs *argp, struct nfsd4_setattr *seta
{
__be32 status;
- status = nfsd4_decode_stateid(argp, &setattr->sa_stateid);
+ status = nfsd4_decode_stateid4(argp, &setattr->sa_stateid);
if (status)
return status;
return nfsd4_decode_fattr4(argp, setattr->sa_bmval,