Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 50635f15 authored by Kurt Hackel's avatar Kurt Hackel Committed by Mark Fasheh
Browse files

ocfs2_dlm: Drop inflight refmap even if no locks found on the lockres

parent 1cd04dbe
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -1908,11 +1908,9 @@ static int dlm_process_recovery_data(struct dlm_ctxt *dlm,

leave:
	/* balance the ref taken when the work was queued */
	if (added > 0) {
	spin_lock(&res->spinlock);
	dlm_lockres_drop_inflight_ref(dlm, res);
	spin_unlock(&res->spinlock);
	}

	if (ret < 0) {
		mlog_errno(ret);