sync_file_create(9) creates a sync file

SYNOPSIS

struct sync_file * sync_file_create(struct fence * fence);

ARGUMENTS

fence

fence to add to the sync_fence

DESCRIPTION

Creates a sync_file containg fence. Once this is called, the sync_file takes ownership of fence. The sync_file can be released with fput(sync_file->file). Returns the sync_file or NULL in case of error.

COPYRIGHT