Commit 588e0090 authored by Kurt Hackel's avatar Kurt Hackel Committed by Mark Fasheh
Browse files

ocfs2: do not send master requests to localhost

parent 8b219809
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -994,6 +994,7 @@ recheck:
		spin_unlock(&res->spinlock);
		/* this will cause the master to re-assert across
		 * the whole cluster, freeing up mles */
		if (res->owner != dlm->node_num) {
			ret = dlm_do_master_request(mle, res->owner);
			if (ret < 0) {
				/* give recovery a chance to run */
@@ -1001,6 +1002,7 @@ recheck:
				msleep(500);
				goto recheck;
			}
		}
		ret = 0;
		goto leave;
	}