Re: [PATCH v2] BLOCK: fix bio.bi_rw handling

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christoph Hellwig
Date: Thursday, August 12, 2010 - 9:08 am

On Thu, Aug 12, 2010 at 02:31:06PM +0200, Jiri Slaby wrote:

I'd have to look at my copy of the C standard if it's guaranteed, but
at least currently the values just get truncated down and bool still
is set to true.  I'd much prefer just making these flags unsigned longs
instead of adding syntactic surage to make them true bools.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v2] BLOCK: fix bio.bi_rw handling, Jiri Slaby, (Thu Aug 12, 5:31 am)
Re: [PATCH v2] BLOCK: fix bio.bi_rw handling, Jeff Moyer, (Thu Aug 12, 6:35 am)
Re: [PATCH v2] BLOCK: fix bio.bi_rw handling, Christoph Hellwig, (Thu Aug 12, 9:08 am)
Re: [PATCH v2] BLOCK: fix bio.bi_rw handling, Jiri Slaby, (Thu Aug 12, 9:24 am)
Re: [PATCH v2] BLOCK: fix bio.bi_rw handling, Jens Axboe, (Mon Aug 23, 3:33 am)