]> Git Repo - linux.git/commit - fs/bfs/inode.c
regression: bfs endianness bug
authorAl Viro <[email protected]>
Wed, 5 Dec 2007 08:32:52 +0000 (08:32 +0000)
committerLinus Torvalds <[email protected]>
Wed, 5 Dec 2007 17:25:20 +0000 (09:25 -0800)
commit7e46aa5c8cb1347853de9ec86f3fa440f9dc9d77
treeeb7fbee801b729e54e7826530175655fd6dce90f
parent3c50b3683a8efbf3b4b314209d86aed1a0c44d5b
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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/bfs/inode.c
This page took 0.052795 seconds and 4 git commands to generate.