From c099376d697eb3787d2c9583027fd5fc63bb0b20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9F=B3=E5=AD=90=E6=80=A1?= Date: Tue, 15 Oct 2024 08:15:43 +0000 Subject: [PATCH] update fs/vfs/epoll/fs_epoll.c. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 石子怡 --- fs/vfs/epoll/fs_epoll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/vfs/epoll/fs_epoll.c b/fs/vfs/epoll/fs_epoll.c index abb96e5a..bdd9d7b8 100644 --- a/fs/vfs/epoll/fs_epoll.c +++ b/fs/vfs/epoll/fs_epoll.c @@ -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; }