| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH] xfs: add missing break in xfs_parseargs() |
| From: | Eryu Guan <guaneryu@xxxxxxxxx> |
| Date: | Thu, 31 Mar 2016 17:13:03 +0800 |
| Cc: | esandeen@xxxxxxxxxx, Eryu Guan <guaneryu@xxxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=cXL1VJ4oFeXOcnpbuzMRMeOjbFq7Gh0XCz9fDiRZ+JA=; b=MTcqAnt1JhwHIueU0OGwPV4+8UajmgIB3CStCs4F+lMjiracy2VuVghVzbcW+4dmr6 nBSJCUeMwAN/dG1UDtBjq8ZXsV6s+VBDGTfjwyPTep3Ffw9XrYNYptkg8vhrjWyWWCUT +IahL6IR7wtKXzOj/muNTSdR6jd2oWeG4m/At5UCoHn6gM2+1kgveMFb22t3XhGfOz1i RZ06+nbkH3yg9A0+hCBAZe4694ggshMB3/5ebaLFz8GdsbtVSv+IjKr+e7uRcHrHy2BL D9RxGAeNc1HQeXPt2wmtgM8dYjVkoFY/GxM8IPTdM2l9bL0JllqpY86lpSKsr8soWWUs MVUQ== |
Commit 2e74af0e1189 ("xfs: convert mount option parsing to tokens")
missed a 'break;' in xfs_parseargs() which causes mount to fail with
"-o pqnoenforce" option. xfs/050 catches this failure.
XFS (vda6): Super block does not support project and group quota together
Fixes: 2e74af0e1189 ("xfs: convert mount option parsing to tokens")
Signed-off-by: Eryu Guan <guaneryu@xxxxxxxxx>
---
fs/xfs/xfs_super.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
index d760934..361564e 100644
--- a/fs/xfs/xfs_super.c
+++ b/fs/xfs/xfs_super.c
@@ -350,6 +350,7 @@ xfs_parseargs(
case Opt_pqnoenforce:
mp->m_qflags |= (XFS_PQUOTA_ACCT | XFS_PQUOTA_ACTIVE);
mp->m_qflags &= ~XFS_PQUOTA_ENFD;
+ break;
case Opt_gquota:
case Opt_grpquota:
mp->m_qflags |= (XFS_GQUOTA_ACCT | XFS_GQUOTA_ACTIVE |
--
2.5.5
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: fallocate mode flag for "unshare blocks"?, Christoph Hellwig |
|---|---|
| Next by Date: | Re: [PATCH] xfs: add missing break in xfs_parseargs(), Eryu Guan |
| Previous by Thread: | At price of 3 star, Book 5 Star |
| Next by Thread: | Re: [PATCH] xfs: add missing break in xfs_parseargs(), Eryu Guan |
| Indexes: | [Date] [Thread] [Top] [All Lists] |