]> Git Repo - linux.git/blobdiff - fs/nfs/super.c
x86/unwind: Rename unwinder config options to 'CONFIG_UNWINDER_*'
[linux.git] / fs / nfs / super.c
index 6b179af59b92987a2eaeb6aa6651b7bbbfc0f590..c9d24bae302514957435350f8a8a560e98c8a961 100644 (file)
@@ -812,7 +812,7 @@ int nfs_show_stats(struct seq_file *m, struct dentry *root)
         * Display all mount option settings
         */
        seq_printf(m, "\n\topts:\t");
-       seq_puts(m, root->d_sb->s_flags & MS_RDONLY ? "ro" : "rw");
+       seq_puts(m, sb_rdonly(root->d_sb) ? "ro" : "rw");
        seq_puts(m, root->d_sb->s_flags & MS_SYNCHRONOUS ? ",sync" : "");
        seq_puts(m, root->d_sb->s_flags & MS_NOATIME ? ",noatime" : "");
        seq_puts(m, root->d_sb->s_flags & MS_NODIRATIME ? ",nodiratime" : "");
This page took 0.036806 seconds and 4 git commands to generate.