Searched refs:BTRFS_ROOT_SUBVOL_RDONLY (Results 1 – 6 of 6) sorted by relevance
580 #define BTRFS_ROOT_SUBVOL_RDONLY (1ULL << 0) macro
341 return (root->root_item.flags & cpu_to_le64(BTRFS_ROOT_SUBVOL_RDONLY)) != 0; in btrfs_root_readonly()
1755 root_flags |= BTRFS_ROOT_SUBVOL_RDONLY; in create_pending_snapshot()1757 root_flags &= ~BTRFS_ROOT_SUBVOL_RDONLY; in create_pending_snapshot()1765 if (!(root_flags & BTRFS_ROOT_SUBVOL_RDONLY)) { in create_pending_snapshot()
1156 const u64 valid_root_flags = BTRFS_ROOT_SUBVOL_RDONLY | in check_root_item()
1486 root_flags | BTRFS_ROOT_SUBVOL_RDONLY); in btrfs_ioctl_subvol_setflags()1495 root_flags & ~BTRFS_ROOT_SUBVOL_RDONLY); in btrfs_ioctl_subvol_setflags()
867 #define BTRFS_ROOT_SUBVOL_RDONLY (1ULL << 0) macro