Re: buffer_head.b_bsize type

From: William Lee Irwin III (wli@holomorphy.com)
Date: Thu May 29 2003 - 06:36:38 EST


On Thu, May 29, 2003 at 03:35:03AM -0700, William Lee Irwin III wrote:
>> Could we go the other way and make all users of b_size use unsigned?

On Thu, May 29, 2003 at 12:15:17PM +0100, viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx wrote:
> Who the hell cares? Size of buffer does not exceed the page size.
> Unless you can show a platform with 2Gb pages...

The thought behind my comment was that it didn't make sense to allow
the representation to go negative. There of course shouldn't ever be
any need to allow >= 2GB b_size to be representable.

I'll defer to viro here.


-- wli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/