]> err.no Git - linux-2.6/commit
ufs: fix sun state
authorEvgeniy Dushistov <dushistov@mail.ru>
Tue, 25 Sep 2007 04:24:39 +0000 (21:24 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 25 Sep 2007 15:51:04 +0000 (08:51 -0700)
commitf9b7cba1b8a74c10b0771ca28d4c554aeb9803fc
tree02c139c63c4ffb77c32d5427ee08d5ed9af303a2
parent4942de4a0e914f205d351a81873f4f63986bcc3c
ufs: fix sun state

Different types of ufs hold state in different places, to hide complexity
of this, there is ufs_get_fs_state, it returns state according to
"UFS_SB(sb)->s_flags", but during mount ufs_get_fs_state is called, before
setting s_flags, this cause message for ufs types like sun ufs: "fs need
fsck", and remount in readonly state.

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