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
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user