This is a note to let you know that I've just added the patch titled NFSD: Drop TRACE_DEFINE_ENUM for NFSD4_CB_<state> macros to the 5.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: nfsd-drop-trace_define_enum-for-nfsd4_cb_-state-macr.patch and it can be found in the queue-5.10 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. commit 4a2e10fd50fb51c9cfc945cb7b39623d161c0827 Author: Chuck Lever <chuck.lever@xxxxxxxxxx> Date: Fri May 14 15:56:37 2021 -0400 NFSD: Drop TRACE_DEFINE_ENUM for NFSD4_CB_<state> macros [ Upstream commit 167145cc64ce4b4b177e636829909a6b14004f9e ] TRACE_DEFINE_ENUM() is necessary for enum {} but not for C macros. Signed-off-by: Chuck Lever <chuck.lever@xxxxxxxxxx> Signed-off-by: J. Bruce Fields <bfields@xxxxxxxxxx> Signed-off-by: Chuck Lever <chuck.lever@xxxxxxxxxx> Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx> diff --git a/fs/nfsd/trace.h b/fs/nfsd/trace.h index de461c82dbf40..3683076e0fcd3 100644 --- a/fs/nfsd/trace.h +++ b/fs/nfsd/trace.h @@ -877,11 +877,6 @@ TRACE_EVENT(nfsd_cb_nodelegs, TP_printk("client %08x:%08x", __entry->cl_boot, __entry->cl_id) ) -TRACE_DEFINE_ENUM(NFSD4_CB_UP); -TRACE_DEFINE_ENUM(NFSD4_CB_UNKNOWN); -TRACE_DEFINE_ENUM(NFSD4_CB_DOWN); -TRACE_DEFINE_ENUM(NFSD4_CB_FAULT); - #define show_cb_state(val) \ __print_symbolic(val, \ { NFSD4_CB_UP, "UP" }, \