Messages in this thread Patch in this message |  | | Date | Fri, 12 Jun 2020 14:28:54 +0800 | From | kernel test robot <> | Subject | [RFC PATCH] hugetlb: hugetlbfs_file_operations can be static |
| |
Signed-off-by: kernel test robot <lkp@intel.com> --- 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;
|  |