mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
revert "sync_file: Return consistent status in SYNC_IOC_FILE_INFO [2/3]"
This reverts commit fe912ab314899e3add2993c630c15d28638a3348. This reverts part commit of ARM and reserved original commit in upstread. Change-Id: I4e0f39bee86342cd89aa2fb8f10c81f92e4b1985 Signed-off-by: binqi.zhang <binqi.zhang@amlogic.com>
This commit is contained in:
@@ -173,9 +173,10 @@ static struct fence **get_fences(struct sync_file *sync_file, int *num_fences)
|
||||
static void add_fence(struct fence **fences, int *i, struct fence *fence)
|
||||
{
|
||||
fences[*i] = fence;
|
||||
|
||||
if (!fence_is_signaled(fence)) {
|
||||
fence_get(fence);
|
||||
(*i)++;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user