Searched refs:XFS_MOUNT_RDONLY (Results 1 – 8 of 8) sorted by relevance
916 if (mp->m_update_sb && !(mp->m_flags & XFS_MOUNT_RDONLY)) { in xfs_mountfs()967 if ((mp->m_flags & (XFS_MOUNT_RDONLY|XFS_MOUNT_NORECOVERY)) == in xfs_mountfs()968 XFS_MOUNT_RDONLY) { in xfs_mountfs()993 if (!(mp->m_flags & XFS_MOUNT_RDONLY)) { in xfs_mountfs()1170 XFS_FORCED_SHUTDOWN(mp) || (mp->m_flags & XFS_MOUNT_RDONLY)) in xfs_fs_writable()
214 mp->m_flags |= XFS_MOUNT_RDONLY; in xfs_parseargs()393 !(mp->m_flags & XFS_MOUNT_RDONLY)) { in xfs_parseargs()1315 if ((mp->m_flags & XFS_MOUNT_RDONLY) && !(*flags & MS_RDONLY)) { in xfs_fs_remount()1332 mp->m_flags &= ~XFS_MOUNT_RDONLY; in xfs_fs_remount()1371 if (!(mp->m_flags & XFS_MOUNT_RDONLY) && (*flags & MS_RDONLY)) { in xfs_fs_remount()1395 mp->m_flags |= XFS_MOUNT_RDONLY; in xfs_fs_remount()1445 int ronly = (mp->m_flags & XFS_MOUNT_RDONLY); in xfs_finish_flags()
621 ASSERT(mp->m_flags & XFS_MOUNT_RDONLY); in xfs_log_mount()689 int readonly = (mp->m_flags & XFS_MOUNT_RDONLY); in xfs_log_mount()692 mp->m_flags &= ~XFS_MOUNT_RDONLY; in xfs_log_mount()697 mp->m_flags |= XFS_MOUNT_RDONLY; in xfs_log_mount()746 bool readonly = (mp->m_flags & XFS_MOUNT_RDONLY); in xfs_log_mount_finish()749 ASSERT(mp->m_flags & XFS_MOUNT_RDONLY); in xfs_log_mount_finish()753 mp->m_flags &= ~XFS_MOUNT_RDONLY; in xfs_log_mount_finish()784 mp->m_flags |= XFS_MOUNT_RDONLY; in xfs_log_mount_finish()839 ASSERT(mp->m_flags & XFS_MOUNT_RDONLY); in xfs_log_unmount_write()
236 #define XFS_MOUNT_RDONLY (1ULL << 20) /* read-only fs */ macro
1154 if (mp->m_flags & XFS_MOUNT_RDONLY) in xfs_ioctl_setattr_get_trans()1954 if (mp->m_flags & XFS_MOUNT_RDONLY) in xfs_file_ioctl()2071 if (mp->m_flags & XFS_MOUNT_RDONLY) in xfs_file_ioctl()
597 if (mp->m_flags & XFS_MOUNT_RDONLY) in xfs_vn_change_ok()
1668 if (mp->m_flags & XFS_MOUNT_RDONLY) in xfs_release()1906 if (mp->m_flags & XFS_MOUNT_RDONLY) in xfs_inactive()
152 if (!(mp->m_flags & XFS_MOUNT_RDONLY)) { in xfs_mount_validate_sb()