[PATCH] ufs: fix oops with `ufs1' type
authorEvgeniy Dushistov <dushistov@mail.ru>
Fri, 3 Feb 2006 11:04:04 +0000 (03:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 3 Feb 2006 16:32:04 +0000 (08:32 -0800)
commite295cfcb2907ae4c5df57f5d4ada1ce6f3ae4657
treea28ca6bf5ba0c3e1e03e12eb5067727028bb6452
parent19dfe31c29e0ebb88cf1cd2211da3e2ff2a26d52
[PATCH] ufs: fix oops with `ufs1' type

"rm" command, on file system with "ufs1" type cause system hang up.  This
is, in fact, not so bad as it seems to be, because of after that in "kernel
control path" there are 3-4 places which may cause "oops".

So the first patch fix oopses, and the second patch fix "kernel hang up".

"oops" appears because of reading of group's summary info partly wrong, and
access to not first group's summary info cause "oops".

Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ufs/super.c
include/linux/ufs_fs.h
include/linux/ufs_fs_sb.h