diff options
Diffstat (limited to 'kernel/cgroup.c')
| -rw-r--r-- | kernel/cgroup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index c7ece8f027f2..213b7f92fcdd 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c | |||
| @@ -596,7 +596,7 @@ void cgroup_unlock(void) | |||
| 596 | static int cgroup_mkdir(struct inode *dir, struct dentry *dentry, int mode); | 596 | static int cgroup_mkdir(struct inode *dir, struct dentry *dentry, int mode); |
| 597 | static int cgroup_rmdir(struct inode *unused_dir, struct dentry *dentry); | 597 | static int cgroup_rmdir(struct inode *unused_dir, struct dentry *dentry); |
| 598 | static int cgroup_populate_dir(struct cgroup *cgrp); | 598 | static int cgroup_populate_dir(struct cgroup *cgrp); |
| 599 | static struct inode_operations cgroup_dir_inode_operations; | 599 | static const struct inode_operations cgroup_dir_inode_operations; |
| 600 | static struct file_operations proc_cgroupstats_operations; | 600 | static struct file_operations proc_cgroupstats_operations; |
| 601 | 601 | ||
| 602 | static struct backing_dev_info cgroup_backing_dev_info = { | 602 | static struct backing_dev_info cgroup_backing_dev_info = { |
| @@ -961,7 +961,7 @@ static int cgroup_remount(struct super_block *sb, int *flags, char *data) | |||
| 961 | return ret; | 961 | return ret; |
| 962 | } | 962 | } |
| 963 | 963 | ||
| 964 | static struct super_operations cgroup_ops = { | 964 | static const struct super_operations cgroup_ops = { |
| 965 | .statfs = simple_statfs, | 965 | .statfs = simple_statfs, |
| 966 | .drop_inode = generic_delete_inode, | 966 | .drop_inode = generic_delete_inode, |
| 967 | .show_options = cgroup_show_options, | 967 | .show_options = cgroup_show_options, |
| @@ -1711,7 +1711,7 @@ static struct file_operations cgroup_file_operations = { | |||
| 1711 | .release = cgroup_file_release, | 1711 | .release = cgroup_file_release, |
| 1712 | }; | 1712 | }; |
| 1713 | 1713 | ||
| 1714 | static struct inode_operations cgroup_dir_inode_operations = { | 1714 | static const struct inode_operations cgroup_dir_inode_operations = { |
| 1715 | .lookup = simple_lookup, | 1715 | .lookup = simple_lookup, |
| 1716 | .mkdir = cgroup_mkdir, | 1716 | .mkdir = cgroup_mkdir, |
| 1717 | .rmdir = cgroup_rmdir, | 1717 | .rmdir = cgroup_rmdir, |
