summaryrefslogtreecommitdiffstats
path: root/block/blk-sysfs.c
diff options
context:
space:
mode:
authorZhang, Yanmin <yanmin_zhang@linux.intel.com>2008-05-22 15:13:29 +0200
committerJens Axboe <jens.axboe@oracle.com>2008-05-28 14:49:27 +0200
commit05caf8dbc1880415df3378cfd114d832c9618b60 (patch)
tree71b2a0839739c4a3e54e7d40d1a2358d61c8b279 /block/blk-sysfs.c
parentca39d651d17df49b6d11f851d56c0ce0ce01ea1a (diff)
downloadblackbird-op-linux-05caf8dbc1880415df3378cfd114d832c9618b60.tar.gz
blackbird-op-linux-05caf8dbc1880415df3378cfd114d832c9618b60.zip
block: Move the second call to get_request to the end of the loop
In function get_request_wait, the second call to get_request could be moved to the end of the while loop, because if the first call to get_request fails, the second call will fail without sleep. Signed-off-by: Zhang Yanmin <yanmin.zhang@intel.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/blk-sysfs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud