aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/super.c')
-rw-r--r--fs/ocfs2/super.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c
index cdbaf5e97308..029c4cd8a691 100644
--- a/fs/ocfs2/super.c
+++ b/fs/ocfs2/super.c
@@ -1974,7 +1974,8 @@ static void ocfs2_dismount_volume(struct super_block *sb, int mnt_err)
1974 * If we failed before we got a uuid_str yet, we can't stop 1974 * If we failed before we got a uuid_str yet, we can't stop
1975 * heartbeat. Otherwise, do it. 1975 * heartbeat. Otherwise, do it.
1976 */ 1976 */
1977 if (!mnt_err && !ocfs2_mount_local(osb) && osb->uuid_str) 1977 if (!mnt_err && !ocfs2_mount_local(osb) && osb->uuid_str &&
1978 !ocfs2_is_hard_readonly(osb))
1978 hangup_needed = 1; 1979 hangup_needed = 1;
1979 1980
1980 if (osb->cconn) 1981 if (osb->cconn)