Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
exfatprogs.31393
0001-fsck-repair-prevents-from-repairing-some-c...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-fsck-repair-prevents-from-repairing-some-cases-witho.patch of Package exfatprogs.31393
From 6cdc6d46662f4622368f214a7fd2cc27f606fc36 Mon Sep 17 00:00:00 2001 From: Hyunchul Lee <hyc.lee@gmail.com> Date: Tue, 11 Aug 2020 15:14:56 +0900 Subject: [PATCH 1/9] fsck: repair: prevents from repairing some cases without user permits This patch prevents from repairing some cases without user permits. Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com> (cherry picked from commit a96c562ae373bad98e3c8a11532bf281a94ea2c0) Acked-by: David Disseldorp <ddiss@suse.de> --- fsck/repair.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fsck/repair.c b/fsck/repair.c index 19a2b0d..fa6cdfb 100644 --- a/fsck/repair.c +++ b/fsck/repair.c @@ -33,15 +33,15 @@ static const char *prompts[] = { }; static struct exfat_repair_problem problems[] = { - {ER_BS_CHECKSUM, ERF_DEFAULT_YES | ERF_PREEN_YES, ERP_FIX}, - {ER_DE_CHECKSUM, ERF_DEFAULT_YES | ERF_PREEN_YES, ERP_FIX}, - {ER_FILE_VALID_SIZE, ERF_DEFAULT_YES | ERF_PREEN_YES, ERP_FIX}, + {ER_BS_CHECKSUM, ERF_PREEN_YES, ERP_FIX}, + {ER_DE_CHECKSUM, ERF_PREEN_YES, ERP_FIX}, + {ER_FILE_VALID_SIZE, ERF_PREEN_YES, ERP_FIX}, {ER_FILE_INVALID_CLUS, ERF_DEFAULT_NO, ERP_TRUNCATE}, {ER_FILE_FIRST_CLUS, ERF_DEFAULT_NO, ERP_TRUNCATE}, {ER_FILE_SMALLER_SIZE, ERF_DEFAULT_NO, ERP_TRUNCATE}, {ER_FILE_LARGER_SIZE, ERF_DEFAULT_NO, ERP_TRUNCATE}, {ER_FILE_DUPLICATED_CLUS, ERF_DEFAULT_NO, ERP_TRUNCATE}, - {ER_FILE_ZERO_NOFAT, ERF_DEFAULT_YES | ERF_PREEN_YES, ERP_FIX}, + {ER_FILE_ZERO_NOFAT, ERF_PREEN_YES, ERP_FIX}, }; static struct exfat_repair_problem *find_problem(er_problem_code_t prcode) -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor