diff options
| author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-09-21 20:01:09 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-22 10:17:24 -0400 |
| commit | b87221de6a4934eda856475a0065688d12973a04 (patch) | |
| tree | 6bcf0628e106c4833538f4c23d710fbbe3d7609a /ipc | |
| parent | 0d54b217a247f39605361f867fefbb9e099a5432 (diff) | |
const: mark remaining super_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>
Diffstat (limited to 'ipc')
| -rw-r--r-- | ipc/mqueue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/mqueue.c b/ipc/mqueue.c index c5e68adc6732..ee9d69707c0a 100644 --- a/ipc/mqueue.c +++ b/ipc/mqueue.c | |||
| @@ -77,7 +77,7 @@ struct mqueue_inode_info { | |||
| 77 | 77 | ||
| 78 | static const struct inode_operations mqueue_dir_inode_operations; | 78 | static const struct inode_operations mqueue_dir_inode_operations; |
| 79 | static const struct file_operations mqueue_file_operations; | 79 | static const struct file_operations mqueue_file_operations; |
| 80 | static struct super_operations mqueue_super_ops; | 80 | static const struct super_operations mqueue_super_ops; |
| 81 | static void remove_notification(struct mqueue_inode_info *info); | 81 | static void remove_notification(struct mqueue_inode_info *info); |
| 82 | 82 | ||
| 83 | static struct kmem_cache *mqueue_inode_cachep; | 83 | static struct kmem_cache *mqueue_inode_cachep; |
| @@ -1224,7 +1224,7 @@ static const struct file_operations mqueue_file_operations = { | |||
| 1224 | .read = mqueue_read_file, | 1224 | .read = mqueue_read_file, |
| 1225 | }; | 1225 | }; |
| 1226 | 1226 | ||
| 1227 | static struct super_operations mqueue_super_ops = { | 1227 | static const struct super_operations mqueue_super_ops = { |
| 1228 | .alloc_inode = mqueue_alloc_inode, | 1228 | .alloc_inode = mqueue_alloc_inode, |
| 1229 | .destroy_inode = mqueue_destroy_inode, | 1229 | .destroy_inode = mqueue_destroy_inode, |
| 1230 | .statfs = simple_statfs, | 1230 | .statfs = simple_statfs, |
