summaryrefslogtreecommitdiffstats
path: root/fs/nfs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/super.c')
-rw-r--r--fs/nfs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index 6b179af59b92..c9d24bae3025 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -812,7 +812,7 @@ int nfs_show_stats(struct seq_file *m, struct dentry *root)
812 * Display all mount option settings 812 * Display all mount option settings
813 */ 813 */
814 seq_printf(m, "\n\topts:\t"); 814 seq_printf(m, "\n\topts:\t");
815 seq_puts(m, root->d_sb->s_flags & MS_RDONLY ? "ro" : "rw"); 815 seq_puts(m, sb_rdonly(root->d_sb) ? "ro" : "rw");
816 seq_puts(m, root->d_sb->s_flags & MS_SYNCHRONOUS ? ",sync" : ""); 816 seq_puts(m, root->d_sb->s_flags & MS_SYNCHRONOUS ? ",sync" : "");
817 seq_puts(m, root->d_sb->s_flags & MS_NOATIME ? ",noatime" : ""); 817 seq_puts(m, root->d_sb->s_flags & MS_NOATIME ? ",noatime" : "");
818 seq_puts(m, root->d_sb->s_flags & MS_NODIRATIME ? ",nodiratime" : ""); 818 seq_puts(m, root->d_sb->s_flags & MS_NODIRATIME ? ",nodiratime" : "");