diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-03-27 22:43:03 +0200 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-05-23 17:06:29 +0200 |
commit | bb283ca18d1e67c82d22a329c96c9d6036a74790 (patch) | |
tree | 685e01ce0494e1e4c0738ae3d7db832abefa6ed4 /fs | |
parent | NFSD: Trace filecache opens (diff) | |
download | linux-bb283ca18d1e67c82d22a329c96c9d6036a74790.tar.xz linux-bb283ca18d1e67c82d22a329c96c9d6036a74790.zip |
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 <chuck.lever@oracle.com>
Diffstat (limited to '')
-rw-r--r-- | fs/nfsd/trace.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/nfsd/trace.h b/fs/nfsd/trace.h index feb6e6f834b6..a60ead3b227a 100644 --- a/fs/nfsd/trace.h +++ b/fs/nfsd/trace.h @@ -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" }, \ |