diff options
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r-- | fs/btrfs/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index e0a64328080c..9de9b2236419 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c | |||
@@ -51,7 +51,7 @@ | |||
51 | #include "export.h" | 51 | #include "export.h" |
52 | #include "compression.h" | 52 | #include "compression.h" |
53 | 53 | ||
54 | static struct super_operations btrfs_super_ops; | 54 | static const struct super_operations btrfs_super_ops; |
55 | 55 | ||
56 | static void btrfs_put_super(struct super_block *sb) | 56 | static void btrfs_put_super(struct super_block *sb) |
57 | { | 57 | { |
@@ -677,7 +677,7 @@ static int btrfs_unfreeze(struct super_block *sb) | |||
677 | return 0; | 677 | return 0; |
678 | } | 678 | } |
679 | 679 | ||
680 | static struct super_operations btrfs_super_ops = { | 680 | static const struct super_operations btrfs_super_ops = { |
681 | .drop_inode = btrfs_drop_inode, | 681 | .drop_inode = btrfs_drop_inode, |
682 | .delete_inode = btrfs_delete_inode, | 682 | .delete_inode = btrfs_delete_inode, |
683 | .put_super = btrfs_put_super, | 683 | .put_super = btrfs_put_super, |