[][src]Function btrfsutil_sys::btrfs_util_create_subvolume_fd

pub unsafe extern "C" fn btrfs_util_create_subvolume_fd(
    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_subvolume_fd() - Create a new subvolume given its parent and name. @parent_fd: File descriptor of the parent directory where the subvolume should be created. @name: Name of the subvolume to create. @flags: See btrfs_util_create_subvolume(). @async_transid: See btrfs_util_create_subvolume(). @qgroup_inherit: See btrfs_util_create_subvolume().

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