]> git.baikalelectronics.ru Git - kernel.git/commit
sunrpc: fix stats.h for CONFIG_PROC_FS not enabled
authorRandy Dunlap <rdunlap@xenotime.net>
Tue, 24 Jan 2012 03:28:07 +0000 (03:28 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 1 Feb 2012 00:28:18 +0000 (19:28 -0500)
commit4d0b37d7a91973390c69f48f13dbad91b029e966
tree72d21c6ef76ba379e09031513a90b893c1cb2b3e
parentb8b328e6661ae8f5a9df6b603d44987cde94801d
sunrpc: fix stats.h for CONFIG_PROC_FS not enabled

Fix build errors in linux/sunrpc/stats.h when CONFIG_PROC_FS
is not enabled:
- add parameter names to inline functions
- fix placement of '(' in rpc_proc_unregister()

Fixes these errors:
include/linux/sunrpc/stats.h:72:63: error: parameter name omitted
include/linux/sunrpc/stats.h:73:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'net'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/stats.h