]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Move NFS protocol display macros to global header
authorChuck Lever <chuck.lever@oracle.com>
Fri, 22 Oct 2021 20:17:03 +0000 (16:17 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 2 Nov 2021 16:31:23 +0000 (12:31 -0400)
commit70719ee181f57ff712ff4fbee65f463bc9d3a9d0
treee8c8ff510717ca66627fc635443361ac2ef181d2
parent9f349e033e8df50224135a5ef6a3c4a4d1bbe2c7
NFS: Move NFS protocol display macros to global header

Refactor: surface useful show_ macros so they can be shared between
the client and server trace code.

Additional clean up:
- Housekeeping: ensure the correct #include files are pulled in
  and add proper TRACE_DEFINE_ENUM where they are missing
- Use a consistent naming scheme for the helpers
- Store values to be displayed symbolically as unsigned long, as
  that is the type that the __print_yada() functions take

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4trace.h
fs/nfs/nfstrace.h
fs/nfs/pnfs.h
fs/nfsd/trace.h
include/linux/nfs4.h
include/trace/events/nfs.h [new file with mode: 0644]