blk-throttle: Introduce a helper function to fill in device details
authorVivek Goyal <vgoyal@redhat.com>
Thu, 19 May 2011 19:38:25 +0000 (15:38 -0400)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 20 May 2011 18:34:52 +0000 (20:34 +0200)
commit269f541555d8f5da322d592fb3e13e23ed62d80c
tree8aaf602bc8d284f9c43720801b799f631dc47419
parent29b125892f3317ada86b662e0b6ebc0f79be9037
blk-throttle: Introduce a helper function to fill in device details

A helper function for the code which is used at 2-3 places. Makes reading
code little easier.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-throttle.c