From 9aa835815f7338f90822d41c926db91380b2d557 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Fri, 6 Jan 2023 16:51:10 +0800 Subject: [PATCH] fs/timerfd: Reverse truncate and mmap field Signed-off-by: Xiang Xiao --- fs/vfs/fs_timerfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/vfs/fs_timerfd.c b/fs/vfs/fs_timerfd.c index 6c8553160a..fe5cf3cb3e 100644 --- a/fs/vfs/fs_timerfd.c +++ b/fs/vfs/fs_timerfd.c @@ -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