block: add helpers for the trivial queue flag sysfs show/store entries
authorJens Axboe <jaxboe@fusionio.com>
Sat, 7 Aug 2010 16:13:50 +0000 (18:13 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Sat, 7 Aug 2010 16:13:50 +0000 (18:13 +0200)
commit956bcb7c1a9a73c6d5db66e83f32c785d06dc8fc
treedca3c08c3bff512c9d47a78c6762b006e165cc5d
parente2e1a148bc45855816ae6b4692ce29d0020fa22e
block: add helpers for the trivial queue flag sysfs show/store entries

The code for nonrot, random, and io stats are completely identical.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-sysfs.c