[][src]Function btrfsutil_sys::btrfs_util_delete_subvolume_by_id_fd

pub unsafe extern "C" fn btrfs_util_delete_subvolume_by_id_fd(
    fd: c_int,
    subvolid: u64
) -> btrfs_util_error

btrfs_util_delete_subvolume_by_id_fd() - Delete a subvolume or snapshot using subvolume id. @fd: File descriptor of the subvolume's parent directory. @subvolid: Subvolume id of the subvolume or snapshot to be deleted.

Return: %BTRFS_UTIL_OK on success, non-zero error code on failure.