diff mbox

add prjquota to _qmount_option() filter

Message ID b8fc0176-e023-42d0-717c-925999aa2ed0@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Eric Sandeen Aug. 12, 2016, 10:46 p.m. UTC
_qmount_option() did not properly filter the
"prjquota" mount option along with the "pquota"
variant, as it does for the other types.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---


--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Bill O'Donnell Aug. 15, 2016, 1:52 p.m. UTC | #1
On Fri, Aug 12, 2016 at 05:46:54PM -0500, Eric Sandeen wrote:
> _qmount_option() did not properly filter the
> "prjquota" mount option along with the "pquota"
> variant, as it does for the other types.
> 
> Signed-off-by: Eric Sandeen <sandeen@redhat.com>

Reviewed-by: Bill O'Donnell <billodo@redhat.com>

> ---
> 
> diff --git a/common/quota b/common/quota
> index 32777a9..d91062a 100644
> --- a/common/quota
> +++ b/common/quota
> @@ -190,6 +190,7 @@ _qmount_option()
>  		-e 's/gquota/QUOTA/g'      \
>  		-e 's/grpquota/QUOTA/g'    \
>  		-e 's/pquota/QUOTA/g'      \
> +		-e 's/prjquota/QUOTA/g'      \
>  		-e 's/quota/QUOTA/g'       \
>  		-e 's/uqnoenforce/QUOTA/g' \
>  		-e 's/gqnoenforce/QUOTA/g' \
> 
> --
> To unsubscribe from this list: send the line "unsubscribe fstests" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/common/quota b/common/quota
index 32777a9..d91062a 100644
--- a/common/quota
+++ b/common/quota
@@ -190,6 +190,7 @@  _qmount_option()
 		-e 's/gquota/QUOTA/g'      \
 		-e 's/grpquota/QUOTA/g'    \
 		-e 's/pquota/QUOTA/g'      \
+		-e 's/prjquota/QUOTA/g'      \
 		-e 's/quota/QUOTA/g'       \
 		-e 's/uqnoenforce/QUOTA/g' \
 		-e 's/gqnoenforce/QUOTA/g' \