diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2009-10-30 06:48:53 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2009-12-03 06:57:05 -0500 |
commit | cdcfde62dac64c86ff34e483c595d568a252c433 (patch) | |
tree | fc8c3d5d4475df414772781513af673fc63e9928 /fs/gfs2 | |
parent | f25934c5f88655a8d5c3c40a540daed1f0e6dedc (diff) |
GFS2: Display nobarrier option in /proc/mounts
Since the default is barriers on, this only displays the
nobarrier option when that is active.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2')
-rw-r--r-- | fs/gfs2/super.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c index 5e4b31441a9e..c282ad41f3d1 100644 --- a/fs/gfs2/super.c +++ b/fs/gfs2/super.c | |||
@@ -1336,6 +1336,9 @@ static int gfs2_show_options(struct seq_file *s, struct vfsmount *mnt) | |||
1336 | } | 1336 | } |
1337 | seq_printf(s, ",errors=%s", state); | 1337 | seq_printf(s, ",errors=%s", state); |
1338 | } | 1338 | } |
1339 | if (test_bit(SDF_NOBARRIERS, &sdp->sd_flags)) | ||
1340 | seq_printf(s, ",nobarrier"); | ||
1341 | |||
1339 | return 0; | 1342 | return 0; |
1340 | } | 1343 | } |
1341 | 1344 | ||