Commit bb283ca1 authored by Chuck Lever's avatar Chuck Lever

NFSD: Clean up the show_nf_flags() macro

The flags are defined using C macros, so TRACE_DEFINE_ENUM is
unnecessary.
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 0122e882
...@@ -692,12 +692,6 @@ DEFINE_CLID_EVENT(confirmed_r); ...@@ -692,12 +692,6 @@ DEFINE_CLID_EVENT(confirmed_r);
/* /*
* from fs/nfsd/filecache.h * 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) \ #define show_nf_flags(val) \
__print_flags(val, "|", \ __print_flags(val, "|", \
{ 1 << NFSD_FILE_HASHED, "HASHED" }, \ { 1 << NFSD_FILE_HASHED, "HASHED" }, \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment