NFSD: Replace READ* macros in nfsd4_decode_compound()
authorChuck Lever <chuck.lever@oracle.com>
Wed, 4 Nov 2020 16:07:06 +0000 (11:07 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 30 Nov 2020 19:46:44 +0000 (14:46 -0500)
commitd9b74bdac6f24afc3101b6a5b6f59842610c9c94
treebc83cc6eef7981a5398b6b650abd1cfdc946cc93
parent3a237b4af5b7b0e77588e120554077cab3341943
NFSD: Replace READ* macros in nfsd4_decode_compound()

And clean-up: Now that we have removed the DECODE_TAIL macro from
nfsd4_decode_compound(), we observe that there's no benefit for
nfsd4_decode_compound() to return nfs_ok or nfserr_bad_xdr only to
have its sole caller convert those values to one or zero,
respectively. Have nfsd4_decode_compound() return 1/0 instead.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4xdr.c