diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-03-27 16:43:03 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-05-23 11:06:29 -0400 |
commit | bb283ca18d1e67c82d22a329c96c9d6036a74790 (patch) | |
tree | 685e01ce0494e1e4c0738ae3d7db832abefa6ed4 /fs/nfsd | |
parent | 0122e882119ddbd9efa6edfeeac3f5c704a7aeea (diff) | |
download | linux-bb283ca18d1e67c82d22a329c96c9d6036a74790.tar.gz linux-bb283ca18d1e67c82d22a329c96c9d6036a74790.tar.bz2 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 'fs/nfsd')
-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" }, \ |