Handle EBADF when KFD file handle is still open.
Signed-off-by: Sean Keely <Sean.Keely@amd.com>
Change-Id: I23d6c87d5729f57c261030c6baeff4c977eef934
[ROCm/ROCR-Runtime commit: 9efefe6d52]
This commit is contained in:
@@ -48,7 +48,7 @@ int zfb_support;
|
||||
* because the process can fork without calling the fork function in
|
||||
* libc (using clone or calling the system call directly).
|
||||
*/
|
||||
static bool is_forked_child(void)
|
||||
bool is_forked_child(void)
|
||||
{
|
||||
pid_t cur_pid;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user