[][src]Function btrfsutil_sys::btrfs_util_create_snapshot_fd2

pub unsafe extern "C" fn btrfs_util_create_snapshot_fd2(
    fd: c_int,
    parent_fd: c_int,
    name: *const c_char,
    flags: c_int,
    async_transid: *mut u64,
    qgroup_inherit: *mut btrfs_util_qgroup_inherit
) -> btrfs_util_error

btrfs_util_create_snapshot_fd2() - Create a new snapshot from a source subvolume file descriptor and a target parent file descriptor and name. @fd: File descriptor of the existing subvolume to snapshot. @parent_fd: File descriptor of the parent directory where the snapshot should be created. @name: Name of the snapshot to create. @flags: See btrfs_util_create_snapshot(). @async_transid: See btrfs_util_create_snapshot(). @qgroup_inherit: See btrfs_util_create_snapshot().