summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_super.c
diff options
context:
space:
mode:
authorEryu Guan2016-04-05 23:19:40 +0200
committerDave Chinner2016-04-05 23:19:40 +0200
commitce5c767db079649db88a9f189798839f9c544981 (patch)
treebd2af44217e96c07aea5b104d2665df82abff4f5 /fs/xfs/xfs_super.c
parentxfs: Don't wrap growfs AGFL indexes (diff)
downloadkernel-qcow2-linux-ce5c767db079649db88a9f189798839f9c544981.tar.gz
kernel-qcow2-linux-ce5c767db079649db88a9f189798839f9c544981.tar.xz
kernel-qcow2-linux-ce5c767db079649db88a9f189798839f9c544981.zip
xfs: add missing break in xfs_parseargs()
Commit 2e74af0e1189 ("xfs: convert mount option parsing to tokens") missed a 'break;' in xfs_parseargs() which causes mount to fail with "-o pqnoenforce" option when mounting a v4 filesystem. 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@gmail.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_super.c')
-rw-r--r--fs/xfs/xfs_super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
index ca058a153c15..a9ea12d46b74 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 |