diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2020-11-22 12:49:52 -0500 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2020-11-30 14:46:43 -0500 |
commit | 3a237b4af5b7b0e77588e120554077cab3341943 (patch) | |
tree | 580f2446b927523189cd5f6264ba24a9269aea0d /fs/nfsd/xdr4.h | |
parent | 2212036cadf4da3c4b0e4bd2a9a8c3d78617ab4f (diff) | |
download | linux-3a237b4af5b7b0e77588e120554077cab3341943.tar.bz2 |
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 'fs/nfsd/xdr4.h')
-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 { |