mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-11-23 01:59:54 +00:00
dump.f2fs: remove unavailable option -g
Option "-g" for dump.f2fs is unavailable and not used in dump.f2fs. Signed-off-by: Sheng Yong <shengyong@oppo.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
8247209800
commit
eed09be1c4
12
fsck/main.c
12
fsck/main.c
@ -275,8 +275,10 @@ void f2fs_parse_options(int argc, char *argv[])
|
||||
atoi(optarg);
|
||||
break;
|
||||
case 'g':
|
||||
if (!strcmp(optarg, "android"))
|
||||
if (!strcmp(optarg, "android")) {
|
||||
c.defset = CONF_ANDROID;
|
||||
MSG(0, "Info: Set conf for android\n");
|
||||
}
|
||||
break;
|
||||
case 'l':
|
||||
c.layout = 1;
|
||||
@ -411,14 +413,6 @@ void f2fs_parse_options(int argc, char *argv[])
|
||||
MSG(0, "Info: Debug level = %d\n",
|
||||
c.dbg_lv);
|
||||
break;
|
||||
case 'g':
|
||||
if (!strcmp(optarg, "android")) {
|
||||
c.defset = CONF_ANDROID;
|
||||
MSG(0, "Info: Set conf for android\n");
|
||||
break;
|
||||
}
|
||||
err = EWRONG_OPT;
|
||||
break;
|
||||
case 'i':
|
||||
if (strncmp(optarg, "0x", 2))
|
||||
ret = sscanf(optarg, "%d",
|
||||
|
Loading…
Reference in New Issue
Block a user