NFSD: Replace READ* macros in nfsd4_decode_getattr()
[ Upstream commit f759eff260f1f0b0f56531517762f27ee3233506 ] Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
6da527378e
commit
77de29c527
1 changed files with 2 additions and 1 deletions
|
@ -772,7 +772,8 @@ nfsd4_decode_delegreturn(struct nfsd4_compoundargs *argp, struct nfsd4_delegretu
|
||||||
static inline __be32
|
static inline __be32
|
||||||
nfsd4_decode_getattr(struct nfsd4_compoundargs *argp, struct nfsd4_getattr *getattr)
|
nfsd4_decode_getattr(struct nfsd4_compoundargs *argp, struct nfsd4_getattr *getattr)
|
||||||
{
|
{
|
||||||
return nfsd4_decode_bitmap(argp, getattr->ga_bmval);
|
return nfsd4_decode_bitmap4(argp, getattr->ga_bmval,
|
||||||
|
ARRAY_SIZE(getattr->ga_bmval));
|
||||||
}
|
}
|
||||||
|
|
||||||
static __be32
|
static __be32
|
||||||
|
|
Loading…
Add table
Reference in a new issue