fs/vfs: Rename fdesc_poll to fs_poll

and reorder the function declaration

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2020-05-03 17:02:31 +08:00
committed by patacongo
parent 4b5360362e
commit 4c680bfadc
2 changed files with 112 additions and 112 deletions
+3 -3
View File
@@ -105,7 +105,7 @@ static int poll_fdsetup(int fd, FAR struct pollfd *fds, bool setup)
}
}
return fdesc_poll(fd, fds, setup);
return fs_poll(fd, fds, setup);
}
/****************************************************************************
@@ -299,7 +299,7 @@ static inline int poll_teardown(FAR struct pollfd *fds, nfds_t nfds,
*
* Description:
* Low-level poll operation based on struct file. This is used both to (1)
* support detached file, and also (2) by fdesc_poll() to perform all
* support detached file, and also (2) by fs_poll() to perform all
* normal operations on file descriptors.
*
* Input Parameters:
@@ -378,7 +378,7 @@ int file_poll(FAR struct file *filep, FAR struct pollfd *fds, bool setup)
*
****************************************************************************/
int fdesc_poll(int fd, FAR struct pollfd *fds, bool setup)
int fs_poll(int fd, FAR struct pollfd *fds, bool setup)
{
FAR struct file *filep;
int ret;