]> git.hungrycats.org Git - linux/commit
[PATCH] no bio unmap on cdb copy failure
authorJens Axboe <axboe@suse.de>
Sat, 13 Dec 2003 03:42:12 +0000 (19:42 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Sat, 13 Dec 2003 03:42:12 +0000 (19:42 -0800)
commit5965168e8e5392eded4c40eaf0c7e96be2346529
tree80fc7ff7dff6e618594c15581abb8e82f9bdd752
parenta2c72fae694277071dcbab33dfb7f88af5e54954
[PATCH] no bio unmap on cdb copy failure

The previous scsi_ioctl.c patch didn't cleanup the buffer/bio in the
error case.

Fix it by copying the command data earlier.
drivers/block/scsi_ioctl.c
include/linux/blkdev.h