From: Kaixu Xia Date: Mon, 10 Aug 2020 20:32:05 +0000 (-0400) Subject: xfs: fix the warning message in xfs_validate_sb_common() X-Git-Tag: v5.8.0-rc0~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=faa7f9b2a0b29b5322d1861c7eaa368b1c0e4cb2;p=thirdparty%2Fxfsprogs-dev.git xfs: fix the warning message in xfs_validate_sb_common() Source kernel commit: 14506f7a91d8f4d13fc07126ac8d14c6519f00e3 Fix this error message to complain about project and group quota flag bits instead of "PUOTA" and "QUOTA". Signed-off-by: Kaixu Xia Reviewed-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong Signed-off-by: Eric Sandeen --- diff --git a/libxfs/xfs_sb.c b/libxfs/xfs_sb.c index d37d60b39..7e73b405b 100644 --- a/libxfs/xfs_sb.c +++ b/libxfs/xfs_sb.c @@ -240,7 +240,7 @@ xfs_validate_sb_common( } else if (sbp->sb_qflags & (XFS_PQUOTA_ENFD | XFS_GQUOTA_ENFD | XFS_PQUOTA_CHKD | XFS_GQUOTA_CHKD)) { xfs_notice(mp, -"Superblock earlier than Version 5 has XFS_[PQ]UOTA_{ENFD|CHKD} bits."); +"Superblock earlier than Version 5 has XFS_{P|G}QUOTA_{ENFD|CHKD} bits."); return -EFSCORRUPTED; }