From: Tiger Yang Date: Fri, 7 Sep 2007 16:16:10 +0000 (+0800) Subject: [PATCH] ocfs2: fix mount option parsing X-Git-Tag: v2.6.23-rc7~67^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0123adef626607535f3c2c93b530c36780885e0;p=pandora-kernel.git [PATCH] ocfs2: fix mount option parsing For some mount option types, ocfs2_parse_options() will try to access sb->s_fs_info to get at the ocfs2 private superblock. Unfortunately, that hasn't been allocated yet and will cause a kernel crash. Fix this by storing options in a struct which can then get pushed into the ocfs2_super once it's been allocated later. If we need more options which store to the ocfs2_super in the future, we can just fields to this struct. Signed-off-by: Tiger Yang Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed