Fix a build warning about leaking CONFIG_NFSD to userspace.
authorGreg Banks <gnb@sgi.com>
Thu, 26 Mar 2009 15:32:47 +0000 (02:32 +1100)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 27 Mar 2009 23:48:36 +0000 (19:48 -0400)
commit42d671c78f6486c932b68a50f88768c7b4e57ebf
tree092d5bb768f86235be43fd5cbf4bfd114680ac2f
parentb5cbc369db39d9080f4932db8607aea1e1654d4d
Fix a build warning about leaking CONFIG_NFSD to userspace.

Fix a build warning about leaking CONFIG_NFSD to userspace.

The nfsd_stats data structure does not need to be available to
userspace; no kernel interface uses it.  So move it inside #ifdef
__KERNEL__ and the warning goes away.

Signed-off-by: Greg Banks <gnb@sgi.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
include/linux/nfsd/stats.h