1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (C) 2020 Hyunchul Lee <hyc.lee@gmail.com>
10 enum fsck_ui_options {
11 FSCK_OPTS_REPAIR_ASK = 0x01,
12 FSCK_OPTS_REPAIR_YES = 0x02,
13 FSCK_OPTS_REPAIR_NO = 0x04,
14 FSCK_OPTS_REPAIR_AUTO = 0x08,
15 FSCK_OPTS_REPAIR_WRITE = 0x0b,
16 FSCK_OPTS_REPAIR_ALL = 0x0f,
17 FSCK_OPTS_IGNORE_BAD_FS_NAME = 0x10,
18 FSCK_OPTS_RESCUE_CLUS = 0x20,
26 struct exfat_de_iter de_iter;
27 struct buffer_desc *buffer_desc; /* cluster * 2 */
28 enum fsck_ui_options options;
33 off_t exfat_c2o(struct exfat *exfat, unsigned int clus);