From 0e3d014a4c98e2d537cb9edde0925a1032dabfbc Mon Sep 17 00:00:00 2001 From: Xiubo Li Date: Thu, 6 May 2021 13:39:58 +0800 Subject: [PATCH] Revert "Exit FFSB if filesystem can't be reused." This reverts commit 63e4ab020e307762614fc6d474fb76a3e250d7ba. --- ffsb_fs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.47.3