fs/vfs: add missed truncate/mmap callback at timerfd file_operation

Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
This commit is contained in:
qinwei1 2023-01-05 20:33:35 +08:00 committed by Xiang Xiao
parent af6c990498
commit c137aeec32

View File

@ -111,6 +111,8 @@ static const struct file_operations g_timerfd_fops =
NULL, /* write */ NULL, /* write */
NULL, /* seek */ NULL, /* seek */
NULL, /* ioctl */ NULL, /* ioctl */
NULL, /* truncate */
NULL, /* mmap */
#ifdef CONFIG_TIMER_FD_POLL #ifdef CONFIG_TIMER_FD_POLL
timerfd_poll /* poll */ timerfd_poll /* poll */
#endif #endif