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:

committed by
Greg Kroah-Hartman

parent
42e319695e
commit
42c4437d78
@@ -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
|
||||||
|
Reference in New Issue
Block a user