SUNRPC: allow /proc entries without CONFIG_SUNRPC_DEBUG
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 28 Nov 2018 15:05:58 +0000 (15:05 +0000)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 19 Dec 2018 18:52:44 +0000 (13:52 -0500)
commit8e2e5b7c492639109b1137c286dbad529c2b35e1
tree951806e988d42593b511fc92c2db580113ccc421
parentac0aa5e843ca06ae55886dbbd2a1032d9b78b6bc
SUNRPC: allow /proc entries without CONFIG_SUNRPC_DEBUG

If we want /proc/sys/sunrpc the current kernel also drags in other debug
features which we don't really want. Instead, we should always show the
following entries:

/proc/sys/sunrpc/udp_slot_table_entries
/proc/sys/sunrpc/tcp_slot_table_entries
/proc/sys/sunrpc/tcp_max_slot_table_entries
/proc/sys/sunrpc/min_resvport
/proc/sys/sunrpc/max_resvport
/proc/sys/sunrpc/tcp_fin_timeout

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Thomas Preston <thomas.preston@codethink.co.uk>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtsock.c