e2fsck/quota: mark FS invalid if quotas are not fixed

If user chooses to not fix quota info, then the FS should be
marked as having errors. PR_NO_OK prevented this from happening.

Signed-off-by: Aditya Kali <adityakali@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
Aditya Kali 2012-07-13 15:25:08 -07:00 committed by Theodore Ts'o
parent ad64902b70
commit 75e862ecd0

View File

@ -1694,7 +1694,7 @@ static struct e2fsck_problem problem_table[] = {
/* Update quota information if it is inconsistent */
{ PR_6_UPDATE_QUOTAS,
N_("Update quota info for quota type %N"),
PROMPT_NULL, PR_PREEN_OK | PR_NO_OK },
PROMPT_NULL, PR_PREEN_OK },
{ 0 }
};