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>
此提交包含在:
Alexey Dobriyan
2009-09-21 17:01:09 -07:00
提交者 Linus Torvalds
父節點 0d54b217a2
當前提交 b87221de6a
共有 18 個檔案被更改,包括 23 行新增24 行删除

查看文件

@@ -51,7 +51,7 @@
#include "export.h"
#include "compression.h"
static struct super_operations btrfs_super_ops;
static const struct super_operations btrfs_super_ops;
static void btrfs_put_super(struct super_block *sb)
{
@@ -675,7 +675,7 @@ static int btrfs_unfreeze(struct super_block *sb)
return 0;
}
static struct super_operations btrfs_super_ops = {
static const struct super_operations btrfs_super_ops = {
.delete_inode = btrfs_delete_inode,
.put_super = btrfs_put_super,
.sync_fs = btrfs_sync_fs,