Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

const: mark remaining export_operations const

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Alexey Dobriyan and committed by
Linus Torvalds
ac4cfdd6 b87221de

+2 -2
+1 -1
fs/jffs2/super.c
··· 123 123 return d_obtain_alias(jffs2_iget(child->d_inode->i_sb, pino)); 124 124 } 125 125 126 - static struct export_operations jffs2_export_ops = { 126 + static const struct export_operations jffs2_export_ops = { 127 127 .get_parent = jffs2_get_parent, 128 128 .fh_to_dentry = jffs2_fh_to_dentry, 129 129 .fh_to_parent = jffs2_fh_to_parent,
+1 -1
fs/nilfs2/super.c
··· 560 560 nilfs_nfs_get_inode); 561 561 } 562 562 563 - static struct export_operations nilfs_export_ops = { 563 + static const struct export_operations nilfs_export_ops = { 564 564 .fh_to_dentry = nilfs_fh_to_dentry, 565 565 .fh_to_parent = nilfs_fh_to_parent, 566 566 .get_parent = nilfs_get_parent,