]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commita6e2ba88774bc5870ab3d9664cb86d70415f7402
tree6b2cd66449339a7eadb7edb3e6b211dddaf42a5a
parenta142be856f060ae8106512c0e81a8d6f8746ab0b
block: make /proc/diskstats only build if CONFIG_PROC_FS is enabled

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>
block/genhd.c