Patchwork [3/4] e2fsck/quota: mark FS invalid if quotas are not fixed

login
register
mail settings
Submitter Aditya Kali
Date July 13, 2012, 10:25 p.m.
Message ID <1342218309-25983-3-git-send-email-adityakali@google.com>
Download mbox | patch
Permalink /patch/170974/
State Accepted
Headers show

Comments

Aditya Kali - July 13, 2012, 10:25 p.m.
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>
---
 e2fsck/problem.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/e2fsck/problem.c b/e2fsck/problem.c
index 0948bdb..6a7b6fc 100644
--- a/e2fsck/problem.c
+++ b/e2fsck/problem.c
@@ -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 }
 };