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/squashfs/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/squashfs/super.c')
-rw-r--r-- | fs/squashfs/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/squashfs/super.c b/fs/squashfs/super.c index cb5fc57e370b..6c197ef53add 100644 --- a/fs/squashfs/super.c +++ b/fs/squashfs/super.c @@ -44,7 +44,7 @@ #include "squashfs.h" static struct file_system_type squashfs_fs_type; -static struct super_operations squashfs_super_ops; +static const struct super_operations squashfs_super_ops; static int supported_squashfs_filesystem(short major, short minor, short comp) { @@ -444,7 +444,7 @@ static struct file_system_type squashfs_fs_type = { .fs_flags = FS_REQUIRES_DEV }; -static struct super_operations squashfs_super_ops = { +static const struct super_operations squashfs_super_ops = { .alloc_inode = squashfs_alloc_inode, .destroy_inode = squashfs_destroy_inode, .statfs = squashfs_statfs, |