commit | cdcfde62dac64c86ff34e483c595d568a252c433 | [log] [tgz] |
---|---|---|
author | Steven Whitehouse <swhiteho@redhat.com> | Fri Oct 30 10:48:53 2009 +0000 |
committer | Steven Whitehouse <swhiteho@redhat.com> | Thu Dec 03 11:57:05 2009 +0000 |
tree | fc8c3d5d4475df414772781513af673fc63e9928 | |
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>
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c index 5e4b314..c282ad4 100644 --- a/fs/gfs2/super.c +++ b/fs/gfs2/super.c
@@ -1336,6 +1336,9 @@ } seq_printf(s, ",errors=%s", state); } + if (test_bit(SDF_NOBARRIERS, &sdp->sd_flags)) + seq_printf(s, ",nobarrier"); + return 0; }