diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2012-08-20 12:07:49 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2012-09-24 05:47:17 -0400 |
commit | 2b9731e8bb1bdc6b9da149f4e482a071747207f3 (patch) | |
tree | cef21aeec3c8838425a6b670d448bbaa970dd229 /fs/gfs2/super.c | |
parent | 3e6339dd2850353781513dec42a8d56690e9e1db (diff) |
GFS2: Fix ->show_options() for statfs slow
The ->show_options() function for GFS2 was not correctly displaying
the value when statfs slow in in use.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Reported-by: Milos Jakubicek <xjakub@fi.muni.cz>
Diffstat (limited to 'fs/gfs2/super.c')
-rw-r--r-- | fs/gfs2/super.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c index 3cbac6803038..79cac7057691 100644 --- a/fs/gfs2/super.c +++ b/fs/gfs2/super.c | |||
@@ -1366,6 +1366,8 @@ static int gfs2_show_options(struct seq_file *s, struct dentry *root) | |||
1366 | val = sdp->sd_tune.gt_statfs_quantum; | 1366 | val = sdp->sd_tune.gt_statfs_quantum; |
1367 | if (val != 30) | 1367 | if (val != 30) |
1368 | seq_printf(s, ",statfs_quantum=%d", val); | 1368 | seq_printf(s, ",statfs_quantum=%d", val); |
1369 | else if (sdp->sd_tune.gt_statfs_slow) | ||
1370 | seq_puts(s, ",statfs_quantum=0"); | ||
1369 | val = sdp->sd_tune.gt_quota_quantum; | 1371 | val = sdp->sd_tune.gt_quota_quantum; |
1370 | if (val != 60) | 1372 | if (val != 60) |
1371 | seq_printf(s, ",quota_quantum=%d", val); | 1373 | seq_printf(s, ",quota_quantum=%d", val); |