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>
This commit is contained in:
committed by
Linus Torvalds
parent
0d54b217a2
commit
b87221de6a
@ -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,
|
||||
|
Reference in New Issue
Block a user