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/nfs4proc.c | |
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 'fs/nfsd/nfs4proc.c')
-rw-r--r-- | fs/nfsd/nfs4proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c index 56d074a6cb31..73e717609213 100644 --- a/fs/nfsd/nfs4proc.c +++ b/fs/nfsd/nfs4proc.c @@ -3282,7 +3282,7 @@ int nfsd4_max_reply(struct svc_rqst *rqstp, struct nfsd4_op *op) void warn_on_nonidempotent_op(struct nfsd4_op *op) { if (OPDESC(op)->op_flags & OP_MODIFIES_SOMETHING) { - pr_err("unable to encode reply to nonidempotent op %d (%s)\n", + pr_err("unable to encode reply to nonidempotent op %u (%s)\n", op->opnum, nfsd4_op_name(op->opnum)); WARN_ON_ONCE(1); } |