projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f25934c
)
GFS2: Display nobarrier option in /proc/mounts
author
Steven Whitehouse
<swhiteho@redhat.com>
Fri, 30 Oct 2009 10:48:53 +0000
(10:48 +0000)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Thu, 3 Dec 2009 11:57:05 +0000
(11:57 +0000)
Since the default is barriers on, this only displays the
nobarrier option when that is active.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/super.c
patch
|
blob
|
history
diff --git
a/fs/gfs2/super.c
b/fs/gfs2/super.c
index
5e4b314
..
c282ad4
100644
(file)
--- 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)
}
seq_printf(s, ",errors=%s", state);
}
+ if (test_bit(SDF_NOBARRIERS, &sdp->sd_flags))
+ seq_printf(s, ",nobarrier");
+
return 0;
}