summaryrefslogtreecommitdiffstats
path: root/drivers/sbus
diff options
context:
space:
mode:
authorJiri Slaby2010-08-12 14:31:05 +0200
committerJames Bottomley2010-09-02 22:11:55 +0200
commitd842a93c4b3a20d31f4fb97357e0964210d6066f (patch)
treec7378b4df7e8577ccaded28cf433a292106f73fa /drivers/sbus
parentLinux 2.6.36-rc3 (diff)
downloadkernel-qcow2-linux-d842a93c4b3a20d31f4fb97357e0964210d6066f.tar.gz
kernel-qcow2-linux-d842a93c4b3a20d31f4fb97357e0964210d6066f.tar.xz
kernel-qcow2-linux-d842a93c4b3a20d31f4fb97357e0964210d6066f.zip
[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 <jslaby@suse.cz> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions