From patchwork Fri Jul 13 22:25:08 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/4] e2fsck/quota: mark FS invalid if quotas are not fixed Date: Fri, 13 Jul 2012 12:25:08 -0000 From: Aditya Kali X-Patchwork-Id: 170974 Message-Id: <1342218309-25983-3-git-send-email-adityakali@google.com> To: tytso@mit.edu, johann@whamcloud.com, linux-ext4@vger.kernel.org Cc: Aditya Kali 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 --- e2fsck/problem.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 } };