ocfs2/dlm: return zero if deref_done message is successfully handled
PATCH 1/1 ocfs2/dlm: return zero if deref_done message is successfully handled
Function dlm_deref_lockres_done_handler() should return zero if the message is successfully handled.
Signed-off-by Jiufei Xue <[email protected]>
--- fs/ocfs2/dlm/dlmmaster.c | 2 ++ 1 file changed, 2 insertions(+)
fs/ocfs2/dlm/dlmmaster.c +2 -0
@@ -2455,6 +2455,8 @@ int dlm_deref_lockres_done_handler(struct o2net_msg *msg, u32 len, void *data,spin_unlock (&dlm->spinlock); + ret =0 ; + done:dlm_put (dlm);return ret;
Signature · 1 line
1.8.4.3