]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH 2/3] cciss: bug fix for BIG_PASS_THRU
authorJens Axboe <axboe@suse.de>
Fri, 18 Nov 2005 21:02:44 +0000 (22:02 +0100)
committerJens Axboe <axboe@suse.de>
Fri, 18 Nov 2005 21:02:44 +0000 (22:02 +0100)
commit93f468120517438cf888fb6fab25e2cd988479e4
treec486ab074dffc2cb2af56299e3d558bf7afa9e20
parent8cb6fcbdef81e36a9d31256e251f2ab42cf0a614
[PATCH 2/3] cciss: bug fix for BIG_PASS_THRU

Applications using CCISS_BIG_PASSTHRU complained that the data written
was zeros. The problem is that the buffer is being cleared after the
user copy, unless the user copy has failed... Correct that logic.

Signed-off-by: Mike Miller <mike.miller@hp.com>
Signed-off-by: Jens Axboe <axboe@suse.de>
drivers/block/cciss.c