Searched refs:BTRFS_ROOT_SUBVOL_RDONLY (Results 1 – 4 of 4) sorted by relevance
595 #define BTRFS_ROOT_SUBVOL_RDONLY (1ULL << 0) macro
1516 root_flags |= BTRFS_ROOT_SUBVOL_RDONLY; in create_pending_snapshot()1518 root_flags &= ~BTRFS_ROOT_SUBVOL_RDONLY; in create_pending_snapshot()1527 if (!(root_flags & BTRFS_ROOT_SUBVOL_RDONLY)) { in create_pending_snapshot()
1930 root_flags | BTRFS_ROOT_SUBVOL_RDONLY); in btrfs_ioctl_subvol_setflags()1939 root_flags & ~BTRFS_ROOT_SUBVOL_RDONLY); in btrfs_ioctl_subvol_setflags()
2161 return (root->root_item.flags & cpu_to_le64(BTRFS_ROOT_SUBVOL_RDONLY)) != 0; in btrfs_root_readonly()