]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
e2fsck/quota: mark FS invalid if quotas are not fixed
authorAditya Kali <adityakali@google.com>
Fri, 13 Jul 2012 22:25:08 +0000 (15:25 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 16 Jul 2012 01:12:04 +0000 (21:12 -0400)
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>
e2fsck/problem.c

index 06640cbd6926c35fa9d31d50093c95e4fb68549f..977a4c81cf736e8043beb311ec8d33630acb6c84 100644 (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 }
 };