https://github.com/torvalds/linux
Revision 86f4f0f9ba6e35fbbc409dfc3d8615c1a9822482 authored by Eric Sandeen on 03 November 2006, 06:07:05 UTC, committed by Linus Torvalds on 03 November 2006, 20:27:56 UTC
ufs2 fails to mount on x86_64, claiming bad magic. This is because ufs_super_block_third's fs_un1 member is padded out by 4 bytes for 8-byte alignment, pushing down the rest of the struct. Forcing this to be packed solves it. I took a quick look over other on-disk structures and didn't immediately find other problems. I was able to mount & ls a populated ufs2 filesystem w/ this change. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Cc: Evgeniy Dushistov <dushistov@mail.ru> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 941c710
Tip revision: 86f4f0f9ba6e35fbbc409dfc3d8615c1a9822482 authored by Eric Sandeen on 03 November 2006, 06:07:05 UTC
[PATCH] fix UFS superblock alignment issues
[PATCH] fix UFS superblock alignment issues
Tip revision: 86f4f0f
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 12.6 KB |
Makefile | -rw-r--r-- | 1.4 KB |
aes.c | -rw-r--r-- | 11.6 KB |
algapi.c | -rw-r--r-- | 10.2 KB |
anubis.c | -rw-r--r-- | 27.8 KB |
api.c | -rw-r--r-- | 10.6 KB |
arc4.c | -rw-r--r-- | 2.0 KB |
blkcipher.c | -rw-r--r-- | 10.4 KB |
blowfish.c | -rw-r--r-- | 17.4 KB |
cast5.c | -rw-r--r-- | 34.1 KB |
cast6.c | -rw-r--r-- | 21.5 KB |
cbc.c | -rw-r--r-- | 8.6 KB |
cipher.c | -rw-r--r-- | 13.6 KB |
compress.c | -rw-r--r-- | 1.5 KB |
crc32c.c | -rw-r--r-- | 2.6 KB |
crypto_null.c | -rw-r--r-- | 3.3 KB |
cryptomgr.c | -rw-r--r-- | 3.2 KB |
deflate.c | -rw-r--r-- | 5.4 KB |
des.c | -rw-r--r-- | 35.4 KB |
digest.c | -rw-r--r-- | 4.8 KB |
ecb.c | -rw-r--r-- | 4.8 KB |
hash.c | -rw-r--r-- | 1.6 KB |
hmac.c | -rw-r--r-- | 6.6 KB |
internal.h | -rw-r--r-- | 4.6 KB |
khazad.c | -rw-r--r-- | 51.8 KB |
md4.c | -rw-r--r-- | 6.2 KB |
md5.c | -rw-r--r-- | 7.2 KB |
michael_mic.c | -rw-r--r-- | 3.5 KB |
proc.c | -rw-r--r-- | 3.0 KB |
scatterwalk.c | -rw-r--r-- | 2.4 KB |
scatterwalk.h | -rw-r--r-- | 2.2 KB |
serpent.c | -rw-r--r-- | 19.7 KB |
sha1.c | -rw-r--r-- | 3.2 KB |
sha256.c | -rw-r--r-- | 11.1 KB |
sha512.c | -rw-r--r-- | 10.3 KB |
tcrypt.c | -rw-r--r-- | 32.7 KB |
tcrypt.h | -rw-r--r-- | 110.2 KB |
tea.c | -rw-r--r-- | 7.1 KB |
tgr192.c | -rw-r--r-- | 31.1 KB |
twofish.c | -rw-r--r-- | 6.2 KB |
twofish_common.c | -rw-r--r-- | 39.6 KB |
wp512.c | -rw-r--r-- | 60.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...