Displaying 2 results from an estimated 2 matches for "da103f5".
2011 May 27
2
[PATCH 1/1] ocfs2: Bugfix for hard readonly mount
...e.com/bugzilla/show_bug.cgi?id=1322
Signed-off-by: Tiger Yang <tiger.yang at oracle.com>
---
fs/ocfs2/dlmglue.c | 21 +++++++++++++++------
fs/ocfs2/super.c | 3 ++-
2 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/fs/ocfs2/dlmglue.c b/fs/ocfs2/dlmglue.c
index 7642d7c..da103f5 100644
--- a/fs/ocfs2/dlmglue.c
+++ b/fs/ocfs2/dlmglue.c
@@ -1692,7 +1692,7 @@ int ocfs2_open_lock(struct inode *inode)
mlog(0, "inode %llu take PRMODE open lock\n",
(unsigned long long)OCFS2_I(inode)->ip_blkno);
- if (ocfs2_mount_local(osb))
+ if (ocfs2_is_hard_readonly(osb...
2011 May 26
5
[PATCH 0/4] ocfs2: bugfix for hard readonly mount
Hi, All,
These four patches are all related to ocfs2 on hard readonly mount.
patch 1 fix oops when umount ocfs2 on hard readonly device.
Because ocfs2_dismount_volume() will call ocfs2_cluster_hangup() and
then call ocfs2_stack_driver_put(), will hit BUG_ON(active_stack == NULL).
patch 2 fix oops when do ls or cat in ocfs2 on hard readonly device.
Because ocfs2_open_lock() will call