fs/timerfd: Reverse truncate and mmap field

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-01-06 16:51:10 +08:00 committed by Petro Karashchenko
parent eed2cce3f2
commit 9aa835815f

View File

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