X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Fext2%2Fnamei.c;h=e69beed839acb9bccbfc9f1f68c6bb2be9fdb5de;hb=4ba9b9d0ba0a49d91fa6417c7510ee36f48cf957;hp=e1af5b4cf80c100c26ce08a559bbdab12de8753b;hpb=f0b364a13d7fba001c0571d954f165dfaf5f434a;p=karo-tx-linux.git diff --git a/fs/ext2/namei.c b/fs/ext2/namei.c index e1af5b4cf80c..e69beed839ac 100644 --- a/fs/ext2/namei.c +++ b/fs/ext2/namei.c @@ -373,7 +373,7 @@ out: return err; } -struct inode_operations ext2_dir_inode_operations = { +const struct inode_operations ext2_dir_inode_operations = { .create = ext2_create, .lookup = ext2_lookup, .link = ext2_link, @@ -393,7 +393,7 @@ struct inode_operations ext2_dir_inode_operations = { .permission = ext2_permission, }; -struct inode_operations ext2_special_inode_operations = { +const struct inode_operations ext2_special_inode_operations = { #ifdef CONFIG_EXT2_FS_XATTR .setxattr = generic_setxattr, .getxattr = generic_getxattr,