Re: Faulty has_zero()? (was: .. anybody know of any filesystems that depend on the exact VFS 'namehash' implementation?)

From: Sven Anderson
Date: Sat Mar 17 2012 - 14:00:26 EST



Am 17.03.2012 um 17:53 schrieb Linus Torvalds:
> This is why the algorithm is fundamentally little-endian only. You may
> have confused your test-case on a big-endian machine. On big-endian,
> you would need to do a byte-switching load.

Alright, I ignorantly assumed big-endian by interpreting the "first" as coming from the left side in the integer literals. *D'oh*
Sorry, and thanks for taking the time to explain it to me.


Best regards,

Sven

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