]> 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)
commite5c9823b2e318d2c666ea290ca712ff67cd004a3
treee8c8ff510717ca66627fc635443361ac2ef181d2
parent7642530b18be42fb014df05f19daaf92662d1245
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]