]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFSD: add cb opcode to WARN_ONCE on failed callback
authorOlga Kornievskaia <okorniev@redhat.com>
Thu, 19 Dec 2024 21:57:48 +0000 (16:57 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 6 Jan 2025 14:37:40 +0000 (09:37 -0500)
commitcb80ecf75ac38df30cea1163563391ef7e76a24e
tree1892ea7e8973fc87638e069669612c7d37b15b02
parent1b3e26a5ccbfc2f85bda1930cc278e313165e353
NFSD: add cb opcode to WARN_ONCE on failed callback

It helps to know what kind of callback happened that triggered the
WARN_ONCE in nfsd4_cb_done() function in diagnosing what can set
an uncommon state where both cb_status and tk_status are set at
the same time.

Signed-off-by: Olga Kornievskaia <okorniev@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4callback.c