block: make /proc/diskstats only build if CONFIG_PROC_FS is enabled
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 23 May 2008 16:44:11 +0000 (09:44 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 22 Jul 2008 04:54:49 +0000 (21:54 -0700)
These functions are only needed if CONFIG_PROC_FS is enabled, so save
the space when it is not.

This also makes it easier for a patch later in this series to work
properly if CONFIG_PROC_FS is not enabled.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found