Searched refs:subvolume_fd (Results 1 – 1 of 1) sorted by relevance
1413 _cleanup_close_ int subvolume_fd = -1; in subvol_snapshot_children() local1519 if (subvolume_fd < 0) { in subvol_snapshot_children()1520 … subvolume_fd = openat(new_fd, subvolume, O_RDONLY|O_NOCTTY|O_CLOEXEC|O_DIRECTORY|O_NOFOLLOW); in subvol_snapshot_children()1521 if (subvolume_fd < 0) in subvol_snapshot_children()1525 r = btrfs_subvol_set_read_only_fd(subvolume_fd, false); in subvol_snapshot_children()1538 (void) btrfs_subvol_set_read_only_fd(subvolume_fd, true); in subvol_snapshot_children()1549 k = btrfs_subvol_set_read_only_fd(subvolume_fd, true); in subvol_snapshot_children()