sunrpc: convert to DEFINE_SHOW_ATTRIBUTE
authorYangtao Li <tiny.windzz@gmail.com>
Fri, 21 Dec 2018 15:59:36 +0000 (10:59 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 2 Jan 2019 17:05:49 +0000 (12:05 -0500)
commit260f71eff493a844531629854c0935fa8de4fa2c
tree5f16947a6fcc9eb5419367824df3dd08ce8cb20d
parent10e037d1e0d5d93cc057e4fad6911e481a462407
sunrpc: convert to DEFINE_SHOW_ATTRIBUTE

Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/rpc_pipe.c