Re: New filesystem for Linux

From: Mikulas Patocka
Date: Fri Nov 03 2006 - 12:09:59 EST


In gmane.linux.kernel, you wrote:
[]
From: Andrew Morton <akpm@xxxxxxxx>

As Mikulas points out, (1 << anything) won't be evaluating to zero.

How about integer overflow ?

C standard defines that shifts by more bits than size of a type are undefined (in fact 1<<32 produces 1 on i386, because processor uses only 5 bits of a count).

Mikulas
-
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/