aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/basic/docproc.c
diff options
context:
space:
mode:
authorKiyoshi Ueda <[email protected]>2007-12-11 22:50:21 +0000
committerJens Axboe <[email protected]>2008-01-28 09:37:00 +0000
commitea6f06f416347448645e60294d92c0c19aba8589 (patch)
tree01220f12cf20b74d962e3a7a6fd12acee0a4dccb /scripts/basic/docproc.c
parentblk_end_request: changing cciss (take 4) (diff)
downloadkernel-ea6f06f416347448645e60294d92c0c19aba8589.tar.gz
kernel-ea6f06f416347448645e60294d92c0c19aba8589.zip
blk_end_request: changing cpqarray (take 4)
This patch converts cpqarray to use blk_end_request interfaces. Related 'ok' arguments are converted to 'error'. cpqarray is a little bit different from "normal" drivers. cpqarray directly calls bio_endio() and disk_stat_add() when completing request. But those can be replaced with __end_that_request_first(). After the replacement, request completion procedures of those drivers become like the following: o end_that_request_first() o add_disk_randomness() o end_that_request_last() This can be converted to __blk_end_request() by following the rule (b) mentioned in the patch subject "[PATCH 01/30] blk_end_request: add new request completion interface". Cc: Mike Miller <[email protected]> Signed-off-by: Kiyoshi Ueda <[email protected]> Signed-off-by: Jun'ichi Nomura <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions