[PATCH 0/3] lockd/sunrpc: eliminate some pointless macro indirection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We currently have a number of legacy macros in the sunrpc code, as well
as a smaller number in lockd that are used to indicate whether debugging
support is compiled in or not.

This hash always seemed like pointless indirection as those symbols
always reflect the value of a CONFIG_* value. This patchset just removes
those macros in favor of their CONFIG_* equivalents.

Jeff Layton (3):
  lockd: eliminate LOCKD_DEBUG
  sunrpc: eliminate RPC_DEBUG
  sunrpc: eliminate RPC_TRACEPOINTS

 fs/lockd/svclock.c                      |  2 +-
 include/linux/lockd/debug.h             |  6 +-----
 include/linux/sunrpc/auth.h             |  2 +-
 include/linux/sunrpc/debug.h            | 18 +++---------------
 include/linux/sunrpc/sched.h            |  8 ++++----
 include/uapi/linux/nfsd/debug.h         |  2 +-
 net/sunrpc/auth.c                       |  4 ++--
 net/sunrpc/auth_generic.c               |  2 +-
 net/sunrpc/auth_gss/auth_gss.c          |  2 +-
 net/sunrpc/auth_gss/gss_generic_token.c |  2 +-
 net/sunrpc/auth_gss/gss_krb5_crypto.c   |  2 +-
 net/sunrpc/auth_gss/gss_krb5_keys.c     |  2 +-
 net/sunrpc/auth_gss/gss_krb5_mech.c     |  2 +-
 net/sunrpc/auth_gss/gss_krb5_seal.c     |  2 +-
 net/sunrpc/auth_gss/gss_krb5_seqnum.c   |  2 +-
 net/sunrpc/auth_gss/gss_krb5_unseal.c   |  2 +-
 net/sunrpc/auth_gss/gss_krb5_wrap.c     |  2 +-
 net/sunrpc/auth_gss/gss_mech_switch.c   |  2 +-
 net/sunrpc/auth_gss/gss_rpc_xdr.h       |  2 +-
 net/sunrpc/auth_gss/svcauth_gss.c       |  2 +-
 net/sunrpc/auth_null.c                  |  4 ++--
 net/sunrpc/auth_unix.c                  |  2 +-
 net/sunrpc/backchannel_rqst.c           |  2 +-
 net/sunrpc/clnt.c                       |  6 +++---
 net/sunrpc/rpcb_clnt.c                  |  2 +-
 net/sunrpc/sched.c                      |  4 ++--
 net/sunrpc/sunrpc_syms.c                |  4 ++--
 net/sunrpc/svc.c                        |  2 +-
 net/sunrpc/sysctl.c                     |  2 +-
 net/sunrpc/xprt.c                       |  2 +-
 net/sunrpc/xprtrdma/rpc_rdma.c          |  4 ++--
 net/sunrpc/xprtrdma/transport.c         |  8 ++++----
 net/sunrpc/xprtrdma/verbs.c             |  8 ++++----
 net/sunrpc/xprtsock.c                   |  8 ++++----
 34 files changed, 55 insertions(+), 71 deletions(-)

-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux