From: Al Viro Date: Wed, 5 Dec 2007 08:32:52 +0000 (+0000) Subject: regression: bfs endianness bug X-Git-Tag: v2.6.24-rc5~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e46aa5c8cb1347853de9ec86f3fa440f9dc9d77;p=pandora-kernel.git regression: bfs endianness bug BFS_FILEBLOCKS() expects struct bfs_inode * (on-disk data, with little- endian fields), not struct bfs_inode_info * (in-core stuff, with host- endian ones). It's a macro and fields with the right names are present in bfs_inode_info, so it compiles, but on big-endian host it gives bogus results. Introduced in commit f433dc56344cb72cc3de5ba0819021cec3aef807 ("Fixes to the BFS filesystem driver"). Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed