west bridge block fix
PATCH 1/1 west bridge block fix
This patch contains an update for cyasblkdev_queue.c which is needed for the kernel update from 2.6.35 to 2.6.36.
Signed-off-by David Cross <[email protected]>
---
drivers/staging/westbridge/astoria/block/cyasblkdev_queue.c +1 -1
@@ -95,7 +95,7 @@ static int cyasblkdev_prep_request(DBGPRN_FUNC_NAME ;/* we only like normal block requests.*/ -if (!blk_fs_request (req)) { +if (req->cmd_type !=REQ_TYPE_FS && !(req->cmd_flags &REQ_DISCARD )) {#ifndef WESTBRIDGE_NDEBUG cy_as_hal_print_message ("%s:%x bad request received\n" , __func__, current->pid) ;
---------------------------------------------------------------
This message and any attachments may contain Cypress (or its subsidiaries) confidential information. If it has been received in error, please advise the sender and immediately delete this message.
---------------------------------------------------------------