mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Merge remote-tracking branch 'origin/master' into bas24
This commit is contained in:
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -111,7 +111,7 @@ static void aio_read_worker(FAR void *arg)
|
||||
aiocbp = aioc_decant(aioc);
|
||||
|
||||
#if defined(AIO_HAVE_FILEP) && defined(AIO_HAVE_PSOCK)
|
||||
if (aioc->fildes >= CONFIG_NFILE_DESCRIPTORS)
|
||||
if (aiocbp->aio_fildes >= CONFIG_NFILE_DESCRIPTORS)
|
||||
#endif
|
||||
#ifdef AIO_HAVE_FILEP
|
||||
{
|
||||
|
||||
+1
-1
@@ -129,7 +129,7 @@ static void aio_write_worker(FAR void *arg)
|
||||
aiocbp = aioc_decant(aioc);
|
||||
|
||||
#if defined(AIO_HAVE_FILEP) && defined(AIO_HAVE_PSOCK)
|
||||
if (aioc->fildes >= CONFIG_NFILE_DESCRIPTORS)
|
||||
if (aiocbp->aio_fildes >= CONFIG_NFILE_DESCRIPTORS)
|
||||
#endif
|
||||
#ifdef AIO_HAVE_FILEP
|
||||
{
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <sched.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <nuttx/fs/fs.h>
|
||||
#include <nuttx/net/net.h>
|
||||
@@ -106,7 +107,7 @@ FAR struct aio_container_s *aio_contain(FAR struct aiocb *aiocbp)
|
||||
#endif
|
||||
|
||||
#if defined(AIO_HAVE_FILEP) && defined(AIO_HAVE_PSOCK)
|
||||
if (aioc->fildes >= CONFIG_NFILE_DESCRIPTORS)
|
||||
if (aiocbp->aio_fildes >= CONFIG_NFILE_DESCRIPTORS)
|
||||
#endif
|
||||
#ifdef AIO_HAVE_FILEP
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user