Name

sync_file_create — 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.