aboutsummaryrefslogtreecommitdiff
path: root/fs/ocfs2/alloc.c
diff options
context:
space:
mode:
authorTiger Yang <tiger.yang@oracle.com>2007-09-08 00:16:10 +0800
committerMark Fasheh <mark.fasheh@oracle.com>2007-09-11 11:38:48 -0700
commitc0123adef626607535f3c2c93b530c36780885e0 (patch)
treece61b2efb74c14632fa2584fb45ef37df3b3dedd /fs/ocfs2/alloc.c
parent10b0845bed2b93f88d9758880a0a0e53f50c5139 (diff)
[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 <tiger.yang@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/alloc.c')
0 files changed, 0 insertions, 0 deletions