Loading arch/powerpc/platforms/cell/spufs/inode.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -119,7 +119,7 @@ spufs_new_file(struct super_block *sb, struct dentry *dentry, const struct file_operations *fops, int mode, const struct file_operations *fops, int mode, size_t size, struct spu_context *ctx) size_t size, struct spu_context *ctx) { { static struct inode_operations spufs_file_iops = { static const struct inode_operations spufs_file_iops = { .setattr = spufs_setattr, .setattr = spufs_setattr, }; }; struct inode *inode; struct inode *inode; Loading fs/btrfs/inode.c +10 −10 Original line number Original line Diff line number Diff line Loading @@ -55,11 +55,11 @@ struct btrfs_iget_args { struct btrfs_root *root; struct btrfs_root *root; }; }; static struct inode_operations btrfs_dir_inode_operations; static const struct inode_operations btrfs_dir_inode_operations; static struct inode_operations btrfs_symlink_inode_operations; static const struct inode_operations btrfs_symlink_inode_operations; static struct inode_operations btrfs_dir_ro_inode_operations; static const struct inode_operations btrfs_dir_ro_inode_operations; static struct inode_operations btrfs_special_inode_operations; static const struct inode_operations btrfs_special_inode_operations; static struct inode_operations btrfs_file_inode_operations; static const struct inode_operations btrfs_file_inode_operations; static const struct address_space_operations btrfs_aops; static const struct address_space_operations btrfs_aops; static const struct address_space_operations btrfs_symlink_aops; static const struct address_space_operations btrfs_symlink_aops; static struct file_operations btrfs_dir_file_operations; static struct file_operations btrfs_dir_file_operations; Loading Loading @@ -5201,7 +5201,7 @@ static int btrfs_permission(struct inode *inode, int mask) return generic_permission(inode, mask, btrfs_check_acl); return generic_permission(inode, mask, btrfs_check_acl); } } static struct inode_operations btrfs_dir_inode_operations = { static const struct inode_operations btrfs_dir_inode_operations = { .getattr = btrfs_getattr, .getattr = btrfs_getattr, .lookup = btrfs_lookup, .lookup = btrfs_lookup, .create = btrfs_create, .create = btrfs_create, Loading @@ -5219,7 +5219,7 @@ static struct inode_operations btrfs_dir_inode_operations = { .removexattr = btrfs_removexattr, .removexattr = btrfs_removexattr, .permission = btrfs_permission, .permission = btrfs_permission, }; }; static struct inode_operations btrfs_dir_ro_inode_operations = { static const struct inode_operations btrfs_dir_ro_inode_operations = { .lookup = btrfs_lookup, .lookup = btrfs_lookup, .permission = btrfs_permission, .permission = btrfs_permission, }; }; Loading Loading @@ -5278,7 +5278,7 @@ static const struct address_space_operations btrfs_symlink_aops = { .releasepage = btrfs_releasepage, .releasepage = btrfs_releasepage, }; }; static struct inode_operations btrfs_file_inode_operations = { static const struct inode_operations btrfs_file_inode_operations = { .truncate = btrfs_truncate, .truncate = btrfs_truncate, .getattr = btrfs_getattr, .getattr = btrfs_getattr, .setattr = btrfs_setattr, .setattr = btrfs_setattr, Loading @@ -5290,7 +5290,7 @@ static struct inode_operations btrfs_file_inode_operations = { .fallocate = btrfs_fallocate, .fallocate = btrfs_fallocate, .fiemap = btrfs_fiemap, .fiemap = btrfs_fiemap, }; }; static struct inode_operations btrfs_special_inode_operations = { static const struct inode_operations btrfs_special_inode_operations = { .getattr = btrfs_getattr, .getattr = btrfs_getattr, .setattr = btrfs_setattr, .setattr = btrfs_setattr, .permission = btrfs_permission, .permission = btrfs_permission, Loading @@ -5299,7 +5299,7 @@ static struct inode_operations btrfs_special_inode_operations = { .listxattr = btrfs_listxattr, .listxattr = btrfs_listxattr, .removexattr = btrfs_removexattr, .removexattr = btrfs_removexattr, }; }; static struct inode_operations btrfs_symlink_inode_operations = { static const struct inode_operations btrfs_symlink_inode_operations = { .readlink = generic_readlink, .readlink = generic_readlink, .follow_link = page_follow_link_light, .follow_link = page_follow_link_light, .put_link = page_put_link, .put_link = page_put_link, Loading fs/cifs/cifs_dfs_ref.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -385,7 +385,7 @@ cifs_dfs_follow_mountpoint(struct dentry *dentry, struct nameidata *nd) goto out; goto out; } } struct inode_operations cifs_dfs_referral_inode_operations = { const struct inode_operations cifs_dfs_referral_inode_operations = { .follow_link = cifs_dfs_follow_mountpoint, .follow_link = cifs_dfs_follow_mountpoint, }; }; fs/cifs/cifsfs.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -67,7 +67,7 @@ extern int cifs_setattr(struct dentry *, struct iattr *); extern const struct inode_operations cifs_file_inode_ops; extern const struct inode_operations cifs_file_inode_ops; extern const struct inode_operations cifs_symlink_inode_ops; extern const struct inode_operations cifs_symlink_inode_ops; extern struct inode_operations cifs_dfs_referral_inode_operations; extern const struct inode_operations cifs_dfs_referral_inode_operations; /* Functions related to files and directories */ /* Functions related to files and directories */ Loading fs/inode.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -123,7 +123,7 @@ static void wake_up_inode(struct inode *inode) int inode_init_always(struct super_block *sb, struct inode *inode) int inode_init_always(struct super_block *sb, struct inode *inode) { { static const struct address_space_operations empty_aops; static const struct address_space_operations empty_aops; static struct inode_operations empty_iops; static const struct inode_operations empty_iops; static const struct file_operations empty_fops; static const struct file_operations empty_fops; struct address_space *const mapping = &inode->i_data; struct address_space *const mapping = &inode->i_data; Loading Loading
arch/powerpc/platforms/cell/spufs/inode.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -119,7 +119,7 @@ spufs_new_file(struct super_block *sb, struct dentry *dentry, const struct file_operations *fops, int mode, const struct file_operations *fops, int mode, size_t size, struct spu_context *ctx) size_t size, struct spu_context *ctx) { { static struct inode_operations spufs_file_iops = { static const struct inode_operations spufs_file_iops = { .setattr = spufs_setattr, .setattr = spufs_setattr, }; }; struct inode *inode; struct inode *inode; Loading
fs/btrfs/inode.c +10 −10 Original line number Original line Diff line number Diff line Loading @@ -55,11 +55,11 @@ struct btrfs_iget_args { struct btrfs_root *root; struct btrfs_root *root; }; }; static struct inode_operations btrfs_dir_inode_operations; static const struct inode_operations btrfs_dir_inode_operations; static struct inode_operations btrfs_symlink_inode_operations; static const struct inode_operations btrfs_symlink_inode_operations; static struct inode_operations btrfs_dir_ro_inode_operations; static const struct inode_operations btrfs_dir_ro_inode_operations; static struct inode_operations btrfs_special_inode_operations; static const struct inode_operations btrfs_special_inode_operations; static struct inode_operations btrfs_file_inode_operations; static const struct inode_operations btrfs_file_inode_operations; static const struct address_space_operations btrfs_aops; static const struct address_space_operations btrfs_aops; static const struct address_space_operations btrfs_symlink_aops; static const struct address_space_operations btrfs_symlink_aops; static struct file_operations btrfs_dir_file_operations; static struct file_operations btrfs_dir_file_operations; Loading Loading @@ -5201,7 +5201,7 @@ static int btrfs_permission(struct inode *inode, int mask) return generic_permission(inode, mask, btrfs_check_acl); return generic_permission(inode, mask, btrfs_check_acl); } } static struct inode_operations btrfs_dir_inode_operations = { static const struct inode_operations btrfs_dir_inode_operations = { .getattr = btrfs_getattr, .getattr = btrfs_getattr, .lookup = btrfs_lookup, .lookup = btrfs_lookup, .create = btrfs_create, .create = btrfs_create, Loading @@ -5219,7 +5219,7 @@ static struct inode_operations btrfs_dir_inode_operations = { .removexattr = btrfs_removexattr, .removexattr = btrfs_removexattr, .permission = btrfs_permission, .permission = btrfs_permission, }; }; static struct inode_operations btrfs_dir_ro_inode_operations = { static const struct inode_operations btrfs_dir_ro_inode_operations = { .lookup = btrfs_lookup, .lookup = btrfs_lookup, .permission = btrfs_permission, .permission = btrfs_permission, }; }; Loading Loading @@ -5278,7 +5278,7 @@ static const struct address_space_operations btrfs_symlink_aops = { .releasepage = btrfs_releasepage, .releasepage = btrfs_releasepage, }; }; static struct inode_operations btrfs_file_inode_operations = { static const struct inode_operations btrfs_file_inode_operations = { .truncate = btrfs_truncate, .truncate = btrfs_truncate, .getattr = btrfs_getattr, .getattr = btrfs_getattr, .setattr = btrfs_setattr, .setattr = btrfs_setattr, Loading @@ -5290,7 +5290,7 @@ static struct inode_operations btrfs_file_inode_operations = { .fallocate = btrfs_fallocate, .fallocate = btrfs_fallocate, .fiemap = btrfs_fiemap, .fiemap = btrfs_fiemap, }; }; static struct inode_operations btrfs_special_inode_operations = { static const struct inode_operations btrfs_special_inode_operations = { .getattr = btrfs_getattr, .getattr = btrfs_getattr, .setattr = btrfs_setattr, .setattr = btrfs_setattr, .permission = btrfs_permission, .permission = btrfs_permission, Loading @@ -5299,7 +5299,7 @@ static struct inode_operations btrfs_special_inode_operations = { .listxattr = btrfs_listxattr, .listxattr = btrfs_listxattr, .removexattr = btrfs_removexattr, .removexattr = btrfs_removexattr, }; }; static struct inode_operations btrfs_symlink_inode_operations = { static const struct inode_operations btrfs_symlink_inode_operations = { .readlink = generic_readlink, .readlink = generic_readlink, .follow_link = page_follow_link_light, .follow_link = page_follow_link_light, .put_link = page_put_link, .put_link = page_put_link, Loading
fs/cifs/cifs_dfs_ref.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -385,7 +385,7 @@ cifs_dfs_follow_mountpoint(struct dentry *dentry, struct nameidata *nd) goto out; goto out; } } struct inode_operations cifs_dfs_referral_inode_operations = { const struct inode_operations cifs_dfs_referral_inode_operations = { .follow_link = cifs_dfs_follow_mountpoint, .follow_link = cifs_dfs_follow_mountpoint, }; };
fs/cifs/cifsfs.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -67,7 +67,7 @@ extern int cifs_setattr(struct dentry *, struct iattr *); extern const struct inode_operations cifs_file_inode_ops; extern const struct inode_operations cifs_file_inode_ops; extern const struct inode_operations cifs_symlink_inode_ops; extern const struct inode_operations cifs_symlink_inode_ops; extern struct inode_operations cifs_dfs_referral_inode_operations; extern const struct inode_operations cifs_dfs_referral_inode_operations; /* Functions related to files and directories */ /* Functions related to files and directories */ Loading
fs/inode.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -123,7 +123,7 @@ static void wake_up_inode(struct inode *inode) int inode_init_always(struct super_block *sb, struct inode *inode) int inode_init_always(struct super_block *sb, struct inode *inode) { { static const struct address_space_operations empty_aops; static const struct address_space_operations empty_aops; static struct inode_operations empty_iops; static const struct inode_operations empty_iops; static const struct file_operations empty_fops; static const struct file_operations empty_fops; struct address_space *const mapping = &inode->i_data; struct address_space *const mapping = &inode->i_data; Loading