mirror of
https://github.com/reactos/reactos.git
synced 2025-07-06 19:31:22 +00:00
[0.4.9] cherry-pick [VFATLIB] Only attempt to clear the dirty set bit in rw mode.
(cherry picked from commit 59dc951bf7
)
This commit is contained in:
parent
519cdd3c52
commit
ae5aa9cd8b
1 changed files with 3 additions and 1 deletions
|
@ -294,9 +294,11 @@ static char print_fat_dirty_state(void)
|
||||||
if (interactive) {
|
if (interactive) {
|
||||||
printf("1) Remove dirty bit\n" "2) No action\n");
|
printf("1) Remove dirty bit\n" "2) No action\n");
|
||||||
return get_key("12", "?");
|
return get_key("12", "?");
|
||||||
} else
|
} else if (rw) {
|
||||||
printf(" Automatically removing dirty bit.\n");
|
printf(" Automatically removing dirty bit.\n");
|
||||||
return '1';
|
return '1';
|
||||||
|
}
|
||||||
|
return '2';
|
||||||
}
|
}
|
||||||
|
|
||||||
static void check_fat_state_bit(DOS_FS * fs, void *b)
|
static void check_fat_state_bit(DOS_FS * fs, void *b)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue