* + ocfs2-give-an-obvious-tip-for-dismatch-cluster-names-v2.patch added to -mm tree
@ 2017-05-22 19:34 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2017-05-22 19:34 UTC (permalink / raw)
To: ghe, jiangqi903, jlbec, junxiao.bi, mfasheh, mm-commits
The patch titled
Subject: ocfs2-give-an-obvious-tip-for-dismatch-cluster-names-v2
has been added to the -mm tree. Its filename is
ocfs2-give-an-obvious-tip-for-dismatch-cluster-names-v2.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/ocfs2-give-an-obvious-tip-for-dismatch-cluster-names-v2.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/ocfs2-give-an-obvious-tip-for-dismatch-cluster-names-v2.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Gang He <ghe@suse.com>
Subject: ocfs2-give-an-obvious-tip-for-dismatch-cluster-names-v2
Compare with initial version, we only print this error tip when the user
uses pcmk stack. since in o2cb stack, the user will not meet this error.
Link: http://lkml.kernel.org/r/1495419305-3780-1-git-send-email-ghe@suse.com
Signed-off-by: Gang He <ghe@suse.com>
Cc: Mark Fasheh <mfasheh@versity.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Joseph Qi <jiangqi903@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
fs/ocfs2/super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN fs/ocfs2/super.c~ocfs2-give-an-obvious-tip-for-dismatch-cluster-names-v2 fs/ocfs2/super.c
--- a/fs/ocfs2/super.c~ocfs2-give-an-obvious-tip-for-dismatch-cluster-names-v2
+++ a/fs/ocfs2/super.c
@@ -1844,7 +1844,7 @@ static int ocfs2_mount_volume(struct sup
status = ocfs2_dlm_init(osb);
if (status < 0) {
mlog_errno(status);
- if (status == -EBADR)
+ if (status == -EBADR && ocfs2_userspace_stack(osb))
mlog(ML_ERROR, "couldn't mount because cluster name on"
" disk does not match the running cluster name.\n");
goto leave;
_
Patches currently in -mm which might be from ghe@suse.com are
ocfs2-give-an-obvious-tip-for-dismatch-cluster-names.patch
ocfs2-give-an-obvious-tip-for-dismatch-cluster-names-v2.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-05-22 19:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-22 19:34 + ocfs2-give-an-obvious-tip-for-dismatch-cluster-names-v2.patch added to -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.