summaryrefslogtreecommitdiff
path: root/kernel/timer.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2002-05-17 10:02:37 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-05-17 10:02:37 -0700
commit7dbe32bed2b9103e744ced54d3f3076e5f01028e (patch)
treebfad577254c871234591443ba45358ee3e08d5e4 /kernel/timer.c
parent76e4b1f8c0f00247cab2014471a8c21429355fcc (diff)
[PATCH] fix scsi oops on failed sg table allocation
This patch fixes the deliberate BUG_ON() on failed sgtable allocations. I left that in because I was too lazy to fix it at the time... Basically make scsi_init_io() return 0 on failure (like before) but this time allow us to recover. scsi_init_io() will end_request on a fatal condition. So now just mark the device/host as starved if needed, and leave the request at the front of the queue for next service.
Diffstat (limited to 'kernel/timer.c')
0 files changed, 0 insertions, 0 deletions