update fs/vfs/epoll/fs_epoll.c.

Signed-off-by: 石子怡 <z15319797139@163.com>
This commit is contained in:
石子怡 2024-10-15 08:15:43 +00:00 committed by Gitee
parent 63f261d239
commit c099376d69
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 2 additions and 2 deletions

View File

@ -240,7 +240,7 @@ int epoll_ctl(int epfd, int op, int fd, struct epoll_event *ev)
int i;
int ret = -1;
(VOID)pthread_mutex_lock(&g_epollMutex);
(VOID)pthread_mutex_lock(&g_epollMutex);
epHead = EpollGetDataBuff(epfd);
if (epHead == NULL) {
set_errno(EBADF);
@ -301,7 +301,7 @@ int epoll_ctl(int epfd, int op, int fd, struct epoll_event *ev)
break;
}
OUT_RELEASE:
OUT_RELEASE:
(VOID)pthread_mutex_unlock(&g_epollMutex);
return ret;
}