[RFC PATCH] hugetlb: hugetlbfs_file_operations can be static

From: kernel test robot
Date: Fri Jun 12 2020 - 02:29:20 EST



Signed-off-by: kernel test robot <lkp@xxxxxxxxx>
---
inode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c
index 5c0c50a88c84b..98d044be8a5cf 100644
--- a/fs/hugetlbfs/inode.c
+++ b/fs/hugetlbfs/inode.c
@@ -41,7 +41,7 @@

static const struct super_operations hugetlbfs_ops;
static const struct address_space_operations hugetlbfs_aops;
-const struct file_operations hugetlbfs_file_operations;
+static const struct file_operations hugetlbfs_file_operations;
static const struct inode_operations hugetlbfs_dir_inode_operations;
static const struct inode_operations hugetlbfs_inode_operations;