summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/super.c
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2023-06-28 20:52:42 +0200
committerAndreas Gruenbacher <agruenba@redhat.com>2023-09-05 15:58:17 +0200
commiteef46ab713f78591fe2cb20f5e90d9a8fdbddd59 (patch)
treea8ae6d6818677c099f18ddb6f9d69f42d809c480 /fs/gfs2/super.c
parentgfs2: Add device name to gfs2_logd and gfs2_quotad (diff)
downloadlinux-eef46ab713f78591fe2cb20f5e90d9a8fdbddd59.tar.xz
linux-eef46ab713f78591fe2cb20f5e90d9a8fdbddd59.zip
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 '')
-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 be3f69c15edc..18993ecc2f70 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;