linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Aditya Kali <adityakali@google.com>
To: tytso@mit.edu, johann@whamcloud.com, linux-ext4@vger.kernel.org
Cc: Aditya Kali <adityakali@google.com>
Subject: [PATCH 3/4] e2fsck/quota: mark FS invalid if quotas are not fixed
Date: Fri, 13 Jul 2012 15:25:08 -0700	[thread overview]
Message-ID: <1342218309-25983-3-git-send-email-adityakali@google.com> (raw)
In-Reply-To: <1342218309-25983-1-git-send-email-adityakali@google.com>

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(-)

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 }
 };
-- 
1.7.7.3


  parent reply	other threads:[~2012-07-13 22:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-13 22:25 [PATCH 1/4] tune2fs/quota: always create hidden quota files Aditya Kali
2012-07-13 22:25 ` [PATCH 2/4] libquota: fix quota_inode_truncate() Aditya Kali
2012-07-13 22:25 ` Aditya Kali [this message]
2012-07-13 22:25 ` [PATCH 4/4] tune2fs: fix quota feature removal Aditya Kali
2012-07-17  5:22 ` [PATCH 1/4] tune2fs/quota: always create hidden quota files Theodore Ts'o

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1342218309-25983-3-git-send-email-adityakali@google.com \
    --to=adityakali@google.com \
    --cc=johann@whamcloud.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=tytso@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).