From: Xiubo Li Date: Thu, 6 May 2021 05:39:58 +0000 (+0800) Subject: Revert "Exit FFSB if filesystem can't be reused." X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2%2Fhead;p=ffsb.git Revert "Exit FFSB if filesystem can't be reused." This reverts commit 63e4ab020e307762614fc6d474fb76a3e250d7ba. --- diff --git a/ffsb_fs.c b/ffsb_fs.c index 89c2c2c..39283f9 100644 --- a/ffsb_fs.c +++ b/ffsb_fs.c @@ -171,8 +171,8 @@ void *construct_ffsb_fs(void *data) printf("checking existing fs: %s\n", fs->basedir); ret = check_existing_fileset(fs); if (ret == NULL) { - fprintf(stderr, "Can not reuse filesystem"); - exit(1); + printf("recreating new fileset\n"); + ret = construct_new_fileset(fs); } } else { printf("creating new fileset %s\n", fs->basedir);