Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b87221de authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Linus Torvalds
Browse files

const: mark remaining super_operations const

parent 0d54b217
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -773,7 +773,7 @@ static int
spufs_fill_super(struct super_block *sb, void *data, int silent)
{
	struct spufs_sb_info *info;
	static struct super_operations s_ops = {
	static const struct super_operations s_ops = {
		.alloc_inode = spufs_alloc_inode,
		.destroy_inode = spufs_destroy_inode,
		.statfs = simple_statfs,
+2 −2
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ struct hypfs_sb_info {

static const struct file_operations hypfs_file_ops;
static struct file_system_type hypfs_type;
static struct super_operations hypfs_s_ops;
static const struct super_operations hypfs_s_ops;

/* start of list of all dentries, which have to be deleted on update */
static struct dentry *hypfs_last_dentry;
@@ -472,7 +472,7 @@ static struct file_system_type hypfs_type = {
	.kill_sb	= hypfs_kill_super
};

static struct super_operations hypfs_s_ops = {
static const struct super_operations hypfs_s_ops = {
	.statfs		= simple_statfs,
	.drop_inode	= hypfs_drop_inode,
	.show_options	= hypfs_show_options,
+1 −1
Original line number Diff line number Diff line
@@ -89,7 +89,7 @@ static int capifs_remount(struct super_block *s, int *flags, char *data)
	return 0;
}

static struct super_operations capifs_sops =
static const struct super_operations capifs_sops =
{
	.statfs		= simple_statfs,
	.remount_fs	= capifs_remount,
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ static int ibmasmfs_get_super(struct file_system_type *fst,
	return get_sb_single(fst, flags, data, ibmasmfs_fill_super, mnt);
}

static struct super_operations ibmasmfs_s_ops = {
static const struct super_operations ibmasmfs_s_ops = {
	.statfs		= simple_statfs,
	.drop_inode	= generic_delete_inode,
};
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ static struct inode *oprofilefs_get_inode(struct super_block *sb, int mode)
}


static struct super_operations s_ops = {
static const struct super_operations s_ops = {
	.statfs		= simple_statfs,
	.drop_inode 	= generic_delete_inode,
};
Loading