ocfs2: Bugfix for hard readonly mount
authorTiger Yang <tiger.yang@oracle.com>
Fri, 27 May 2011 16:34:19 +0000 (00:34 +0800)
committerJoel Becker <jlbec@evilplan.org>
Wed, 1 Jun 2011 02:03:44 +0000 (19:03 -0700)
commit03efed8a2a1b8e00164eb4720a82a7dd5e368a8e
treeefe713ba18680a1ccedecfbff2d81d83f048fdb0
parente12ca23d41bd157354a5d1aadff30211a410c53a
ocfs2: Bugfix for hard readonly mount

ocfs2 cannot currently mount a device that is readonly at the media
("hard readonly").  Fix the broken places.
see detail: http://oss.oracle.com/bugzilla/show_bug.cgi?id=1322

[ Description edited -- Joel ]

Signed-off-by: Tiger Yang <tiger.yang@oracle.com>
Reviewed-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Joel Becker <jlbec@evilplan.org>
fs/ocfs2/dlmglue.c
fs/ocfs2/super.c