# Re: \[PATCH v2\] BLOCK: fix bio.bi\_rw handling

- From: Jeff Moyer \<hidden\>
- Date: 2010-08-12 13:37:04 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2010/08/3604785
- Thread: https://ratatoskr.run/linux-raid/2010/08/3604785/t.md

```text
Jiri Slaby [ref] writes:

> 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 <redacted>
> Cc: Christoph Hellwig <hch@lst.de>
> Cc: Jens Axboe <axboe@kernel.dk>

Reviewed-by: Jeff Moyer <redacted>

Cheers,
Jeff
```
