Message ID | 20170411032631.24932-4-suy.fnst@cn.fujitsu.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/cmds-check.c b/cmds-check.c index 6ab18b26..da5fe75f 100644 --- a/cmds-check.c +++ b/cmds-check.c @@ -12925,11 +12925,10 @@ int cmd_check(int argc, char **argv) } /* - * Not supported yet + * Support partially */ if (repair && check_mode == CHECK_MODE_LOWMEM) { - error("low memory mode doesn't support repair yet"); - exit(1); + warning("low memory mode support repair partially"); } radix_tree_init();
Enable btrfsck option '--repair' with option '--mode=lowmem'. Now lowmem mode only repairs wrong nbytes, dir isize. Signed-off-by: Su Yue <suy.fnst@cn.fujitsu.com> --- cmds-check.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)