[PATCH] Fix for minix crash
authorAndries Brouwer <Andries.Brouwer@cwi.nl>
Sun, 27 Aug 2006 08:23:42 +0000 (01:23 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 27 Aug 2006 18:01:30 +0000 (11:01 -0700)
commitf5fb09fa3392ad43fbcfc2f4580752f383ab5996
treee151061443d358d484e851d2f4d4fec5e9d2eb97
parentfb8d81e47783f9198f3d6248bd4c0d16a1d5424e
[PATCH] Fix for minix crash

Mounting a (corrupt) minix filesystem with zero s_zmap_blocks
gives a spectacular crash on my 2.6.17.8 system, no doubt
because minix/inode.c does an unconditional
minix_set_bit(0,sbi->s_zmap[0]->b_data);

[akpm@osdl.org: make labels conistent while we're there]

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/minix/inode.c