From 8d9ac69db21d36c6e05a58a38da1091bbb70956d Mon Sep 17 00:00:00 2001 From: Goldwyn Rodrigues Date: Fri, 27 Dec 2013 10:05:23 -0600 Subject: [PATCH] mkfs: Setup cluster_stack if not setup based on what is set --- mkfs.ocfs2/check.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/mkfs.ocfs2/check.c b/mkfs.ocfs2/check.c index 75f0e7b..865dcc3 100644 --- a/mkfs.ocfs2/check.c +++ b/mkfs.ocfs2/check.c @@ -350,6 +350,15 @@ int ocfs2_check_volume(State *s) goto nolock; if (!s->force) { + if (s->cluster_stack) { + ret = o2cb_setup_stack(s->cluster_stack); + if (ret) { + com_err(s->progname, ret, + "while setting up stack\n"); + return -1; + } + } + ret = o2cb_init(); if (ret) { com_err(s->progname, ret, -- 1.8.4