mirror of
https://github.com/apache/nuttx.git
synced 2026-08-09 14:35:08 +00:00
fs/vfs: add missed truncate/mmap callback at timerfd file_operation
Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
This commit is contained in:
parent
af6c990498
commit
c137aeec32
1 changed files with 2 additions and 0 deletions
|
|
@ -111,6 +111,8 @@ static const struct file_operations g_timerfd_fops =
|
|||
NULL, /* write */
|
||||
NULL, /* seek */
|
||||
NULL, /* ioctl */
|
||||
NULL, /* truncate */
|
||||
NULL, /* mmap */
|
||||
#ifdef CONFIG_TIMER_FD_POLL
|
||||
timerfd_poll /* poll */
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue