]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] cciss: bug fix for BIG_PASS_THRU
authorJens Axboe <axboe@suse.de>
Fri, 18 Nov 2005 22:02:54 +0000 (14:02 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 14 Dec 2005 23:43:00 +0000 (15:43 -0800)
commit1a6e1022c1f5cc1ae2efb73ff2b4daf5eec5819f
treece85cb18ce2dc4e0b1ed070b90e5ef8054c98cd8
parent1023cf6f2fe71367b6855e24e2dd4668bd00ad3c
[PATCH] 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/block/cciss.c