All of lore.kernel.org
 help / color / mirror / Atom feed
* + ocfs2-dlm-return-zero-if-deref_done-message-is-successfully-handled.patch added to -mm tree
@ 2016-04-21 23:36 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2016-04-21 23:36 UTC (permalink / raw)
  To: xuejiufei, jlbec, joseph.qi, junxiao.bi, mfasheh, mm-commits


The patch titled
     Subject: ocfs2/dlm: return zero if deref_done message is successfully handled
has been added to the -mm tree.  Its filename is
     ocfs2-dlm-return-zero-if-deref_done-message-is-successfully-handled.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/ocfs2-dlm-return-zero-if-deref_done-message-is-successfully-handled.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/ocfs2-dlm-return-zero-if-deref_done-message-is-successfully-handled.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: xuejiufei <xuejiufei@huawei.com>
Subject: ocfs2/dlm: return zero if deref_done message is successfully handled

dlm_deref_lockres_done_handler() should return zero if the message is
successfully handled.

Fixes: 60d663cb5273 ("ocfs2/dlm: add DEREF_DONE message").
Signed-off-by: xuejiufei <xuejiufei@huawei.com>
Reviewed-by: Joseph Qi <joseph.qi@huawei.com>
Cc: Mark Fasheh <mfasheh@suse.de>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 fs/ocfs2/dlm/dlmmaster.c |    2 ++
 1 file changed, 2 insertions(+)

diff -puN fs/ocfs2/dlm/dlmmaster.c~ocfs2-dlm-return-zero-if-deref_done-message-is-successfully-handled fs/ocfs2/dlm/dlmmaster.c
--- a/fs/ocfs2/dlm/dlmmaster.c~ocfs2-dlm-return-zero-if-deref_done-message-is-successfully-handled
+++ a/fs/ocfs2/dlm/dlmmaster.c
@@ -2455,6 +2455,8 @@ int dlm_deref_lockres_done_handler(struc
 
 	spin_unlock(&dlm->spinlock);
 
+	ret = 0;
+
 done:
 	dlm_put(dlm);
 	return ret;
_

Patches currently in -mm which might be from xuejiufei@huawei.com are

ocfs2-dlm-return-zero-if-deref_done-message-is-successfully-handled.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-21 23:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-21 23:36 + ocfs2-dlm-return-zero-if-deref_done-message-is-successfully-handled.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.