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>
此提交包含在:
@@ -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,
|
||||
|
新增問題並參考
封鎖使用者