mirror of
https://github.com/apache/nuttx.git
synced 2026-05-16 13:56:00 +08:00
fs/vfs: add missed truncate/mmap callback at timerfd file_operation
Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user