Searched refs:subvol_fd (Results 1 – 1 of 1) sorted by relevance
355 _cleanup_close_ int subvol_fd = -1; in btrfs_subvol_get_id() local360 subvol_fd = openat(fd, subvol, O_RDONLY|O_CLOEXEC|O_NOCTTY|O_NOFOLLOW); in btrfs_subvol_get_id()361 if (subvol_fd < 0) in btrfs_subvol_get_id()364 return btrfs_subvol_get_id_fd(subvol_fd, ret); in btrfs_subvol_get_id()1048 _cleanup_close_ int subvol_fd = -1; in subvol_remove_children() local1062 subvol_fd = openat(fd, subvolume, O_RDONLY|O_NOCTTY|O_CLOEXEC|O_DIRECTORY|O_NOFOLLOW); in subvol_remove_children()1063 if (subvol_fd < 0) in subvol_remove_children()1072 r = btrfs_is_subvol_fd(subvol_fd); in subvol_remove_children()1079 r = btrfs_subvol_get_id_fd(subvol_fd, &subvol_id); in subvol_remove_children()1136 r = btrfs_subvol_set_read_only_fd(subvol_fd, false); in subvol_remove_children()[all …]