FAILED: patch "[PATCH] NFSD: Clean up the show_nf_flags() macro" failed to apply to 5.10-stable tree
Subsystems (2)
[email protected]
maintainerThe patch below does not apply to the 5.10-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
From bb283ca18d1e67c82d22a329c96c9d6036a74790 Mon Sep 17 00:00:00 2001
From: Chuck Lever <[email protected]>
Date: Sun, 27 Mar 2022 16:43:03 -0400
Subject: [PATCH] NFSD: Clean up the show_nf_flags() macro
The flags are defined using C macros, so TRACE_DEFINE_ENUM is unnecessary.
Signed-off-by Chuck Lever <[email protected]>
fs/nfsd/trace.h +0 -6
@@ -692,12 +692,6 @@ DEFINE_CLID_EVENT(confirmed_r);/* * from fs/nfsd/filecache.h */ -TRACE_DEFINE_ENUM (NFSD_FILE_HASHED ); -TRACE_DEFINE_ENUM (NFSD_FILE_PENDING ); -TRACE_DEFINE_ENUM (NFSD_FILE_BREAK_READ ); -TRACE_DEFINE_ENUM (NFSD_FILE_BREAK_WRITE ); -TRACE_DEFINE_ENUM (NFSD_FILE_REFERENCED ); -#define show_nf_flags (val) \ __print_flags(val, "|", \ { 1 << NFSD_FILE_HASHED, "HASHED" }, \