blkio: Do not export throttle files if CONFIG_BLK_DEV_THROTTLING=n
authorVivek Goyal <vgoyal@redhat.com>
Fri, 1 Oct 2010 12:49:41 +0000 (14:49 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 1 Oct 2010 12:49:41 +0000 (14:49 +0200)
Currently throttling related files were visible even if user had disabled
throttling using config options. It was switching off background throttling
of bio but not the cgroup files. This patch fixes it.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>

No differences found