From: Evgeniy Dushistov Date: Tue, 25 Sep 2007 04:24:39 +0000 (-0700) Subject: ufs: fix sun state X-Git-Tag: v2.6.23-rc9~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9b7cba1b8a74c10b0771ca28d4c554aeb9803fc;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed