From: Jiri Slaby Date: Thu, 12 Aug 2010 12:31:06 +0000 (+0200) Subject: BLOCK: fix bio.bi_rw handling X-Git-Tag: v2.6.36-rc4~19^2~9 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e00d1b5b4c10fb839afd5ce61db8e24339454b0;p=pandora-kernel.git BLOCK: fix bio.bi_rw handling Return of the bi_rw tests is no longer bool after commit 74450be1. But results of such tests are stored in bools. This doesn't fit in there for some compilers (gcc 4.5 here), so either use !! magic to get real bools or use ulong where the result is assigned somewhere. Signed-off-by: Jiri Slaby Cc: Christoph Hellwig Reviewed-by: Jeff Moyer Signed-off-by: Jens Axboe --- Reading git-diff-tree failed