Home
last modified time | relevance | path

Searched refs:XFS_MOUNT_RDONLY (Results 1 – 8 of 8) sorted by relevance

/fs/xfs/
Dxfs_mount.c916 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()
Dxfs_super.c214 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()
Dxfs_log.c621 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()
Dxfs_mount.h236 #define XFS_MOUNT_RDONLY (1ULL << 20) /* read-only fs */ macro
Dxfs_ioctl.c1154 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()
Dxfs_iops.c597 if (mp->m_flags & XFS_MOUNT_RDONLY) in xfs_vn_change_ok()
Dxfs_inode.c1668 if (mp->m_flags & XFS_MOUNT_RDONLY) in xfs_release()
1906 if (mp->m_flags & XFS_MOUNT_RDONLY) in xfs_inactive()
/fs/xfs/libxfs/
Dxfs_sb.c152 if (!(mp->m_flags & XFS_MOUNT_RDONLY)) { in xfs_mount_validate_sb()