aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/super.c
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2023-06-28 13:52:42 -0500
committerAndreas Gruenbacher <agruenba@redhat.com>2023-09-05 15:58:17 +0200
commiteef46ab713f78591fe2cb20f5e90d9a8fdbddd59 (patch)
treea8ae6d6818677c099f18ddb6f9d69f42d809c480 /fs/gfs2/super.c
parent267d1a011ec2345a320e84c16d8b91411f165aa8 (diff)
downloadlinux-eef46ab713f78591fe2cb20f5e90d9a8fdbddd59.tar.gz
gfs2: Introduce new quota=quiet mount option
This patch adds a new mount option quota=quiet which is the same as quota=on but it suppresses gfs2 quota error messages. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/super.c')
-rw-r--r--fs/gfs2/super.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c
index be3f69c15edcd..18993ecc2f705 100644
--- a/fs/gfs2/super.c
+++ b/fs/gfs2/super.c
@@ -1119,6 +1119,9 @@ static int gfs2_show_options(struct seq_file *s, struct dentry *root)
case GFS2_QUOTA_ON:
state = "on";
break;
+ case GFS2_QUOTA_QUIET:
+ state = "quiet";
+ break;
default:
state = "unknown";
break;