mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
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>
This commit is contained in:
parent
f25934c5f8
commit
cdcfde62da
1 changed files with 3 additions and 0 deletions
|
@ -1336,6 +1336,9 @@ static int gfs2_show_options(struct seq_file *s, struct vfsmount *mnt)
|
|||
}
|
||||
seq_printf(s, ",errors=%s", state);
|
||||
}
|
||||
if (test_bit(SDF_NOBARRIERS, &sdp->sd_flags))
|
||||
seq_printf(s, ",nobarrier");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue