summaryrefslogtreecommitdiffstats
path: root/lib/genalloc.c
diff options
context:
space:
mode:
authorKiyoshi Ueda <k-ueda@ct.jp.nec.com>2008-10-01 16:13:02 +0200
committerJens Axboe <jens.axboe@oracle.com>2008-10-09 08:56:21 +0200
commit7afb3a6e752503d5ebeb038336aa0fa886a51b44 (patch)
treee2797bd14291211e364adf255e50e8b5e4f3bc7b /lib/genalloc.c
parentmemstick: change to use __blk_end_request() (diff)
downloadlinux-7afb3a6e752503d5ebeb038336aa0fa886a51b44.tar.xz
linux-7afb3a6e752503d5ebeb038336aa0fa886a51b44.zip
gdrom: change to use __blk_end_request()
This patch converts gdrom to use __blk_end_request() directly so that end_{queued|dequeued}_request() can be removed. gd.transfer is '1' in error cases and '0' in non-error cases, so gdrom hasn't been propagating any error code to the block layer. We can just convert error cases to '-EIO'. Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com> Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com> Cc: Adrian McMenamin <adrian@mcmen.demon.co.uk> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions