f2fs: constify super_operations

super_operations are not supposed to change at runtime.
"struct super_block" working with super_operations provided
by <linux/fs.h> work with const super_operations. So mark
the non-const structs as const

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>

authored by

Arvind Yadav and committed by
Jaegeuk Kim
f62fc9f9 d3238691

+1 -1
+1 -1
fs/f2fs/super.c
··· 1546 } 1547 #endif 1548 1549 - static struct super_operations f2fs_sops = { 1550 .alloc_inode = f2fs_alloc_inode, 1551 .drop_inode = f2fs_drop_inode, 1552 .destroy_inode = f2fs_destroy_inode,
··· 1546 } 1547 #endif 1548 1549 + static const struct super_operations f2fs_sops = { 1550 .alloc_inode = f2fs_alloc_inode, 1551 .drop_inode = f2fs_drop_inode, 1552 .destroy_inode = f2fs_destroy_inode,