diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2020-11-22 18:49:52 +0100 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2020-11-30 20:46:43 +0100 |
commit | 3a237b4af5b7b0e77588e120554077cab3341943 (patch) | |
tree | 580f2446b927523189cd5f6264ba24a9269aea0d /fs/nfsd/xdr4.h | |
parent | NFSD: Replace READ* macros in nfsd4_decode_listxattrs() (diff) | |
download | linux-3a237b4af5b7b0e77588e120554077cab3341943.tar.xz linux-3a237b4af5b7b0e77588e120554077cab3341943.zip |
NFSD: Make nfsd4_ops::opnum a u32
Avoid passing a "pointer to int" argument to xdr_stream_decode_u32.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to '')
-rw-r--r-- | fs/nfsd/xdr4.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h index facc5762bf83..2c31f3a7d7c7 100644 --- a/fs/nfsd/xdr4.h +++ b/fs/nfsd/xdr4.h @@ -615,7 +615,7 @@ struct nfsd4_copy_notify { }; struct nfsd4_op { - int opnum; + u32 opnum; const struct nfsd4_operation * opdesc; __be32 status; union nfsd4_op_u { |