aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_super.c')
-rw-r--r--fs/xfs/xfs_super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
index 3008f31753df..c996f4ae4a5f 100644
--- a/fs/xfs/xfs_super.c
+++ b/fs/xfs/xfs_super.c
@@ -210,7 +210,7 @@ xfs_parseargs(
210 /* 210 /*
211 * Copy binary VFS mount flags we are interested in. 211 * Copy binary VFS mount flags we are interested in.
212 */ 212 */
213 if (sb->s_flags & MS_RDONLY) 213 if (sb_rdonly(sb))
214 mp->m_flags |= XFS_MOUNT_RDONLY; 214 mp->m_flags |= XFS_MOUNT_RDONLY;
215 if (sb->s_flags & MS_DIRSYNC) 215 if (sb->s_flags & MS_DIRSYNC)
216 mp->m_flags |= XFS_MOUNT_DIRSYNC; 216 mp->m_flags |= XFS_MOUNT_DIRSYNC;