diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-09-22 02:01:09 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-22 16:17:24 +0200 |
commit | b87221de6a4934eda856475a0065688d12973a04 (patch) | |
tree | 6bcf0628e106c4833538f4c23d710fbbe3d7609a /fs/super.c | |
parent | const: make struct super_block::s_qcop const (diff) | |
download | linux-b87221de6a4934eda856475a0065688d12973a04.tar.xz linux-b87221de6a4934eda856475a0065688d12973a04.zip |
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 'fs/super.c')
-rw-r--r-- | fs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/super.c b/fs/super.c index b03fea8fbfb6..0e7207b9815c 100644 --- a/fs/super.c +++ b/fs/super.c @@ -54,7 +54,7 @@ DEFINE_SPINLOCK(sb_lock); static struct super_block *alloc_super(struct file_system_type *type) { struct super_block *s = kzalloc(sizeof(struct super_block), GFP_USER); - static struct super_operations default_op; + static const struct super_operations default_op; if (s) { if (security_sb_alloc(s)) { |