From: Jiri Slaby Date: Thu, 12 Aug 2010 12:31:05 +0000 (+0200) Subject: [SCSI] fix bio.bi_rw handling X-Git-Tag: v2.6.36-rc4~5^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d842a93c4b3a20d31f4fb97357e0964210d6066f;p=pandora-kernel.git [SCSI] fix bio.bi_rw handling Return of the bi_rw tests is no longer bool after commit 74450be1. So testing against constants doesn't make sense anymore. Fix this bug in osd_req_read by removing "== 1" in test. This is not a problem now, where REQ_WRITE is 1, but this can change in the future and we don't want to rely on that. Signed-off-by: Jiri Slaby Signed-off-by: James Bottomley --- Reading git-diff-tree failed