aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2015-11-19 05:42:28 -0500
committerDavid Sterba <dsterba@suse.com>2016-01-07 09:01:14 -0500
commit20e5506baf3fd651e245bc970d8c11a734ee1b8a (patch)
tree429cae426bb8b1cb38b261d485e0ebecc093e439 /fs/btrfs/inode.c
parent28f0779a3fd6ef015303780f0b9a92b24728bc4b (diff)
btrfs: constify remaining structs with function pointers
* struct extent_io_ops * struct btrfs_free_space_op Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r--fs/btrfs/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 0214a812fc0e..c4cfba79ab47 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -74,7 +74,7 @@ static const struct inode_operations btrfs_file_inode_operations;
74static const struct address_space_operations btrfs_aops; 74static const struct address_space_operations btrfs_aops;
75static const struct address_space_operations btrfs_symlink_aops; 75static const struct address_space_operations btrfs_symlink_aops;
76static const struct file_operations btrfs_dir_file_operations; 76static const struct file_operations btrfs_dir_file_operations;
77static struct extent_io_ops btrfs_extent_io_ops; 77static const struct extent_io_ops btrfs_extent_io_ops;
78 78
79static struct kmem_cache *btrfs_inode_cachep; 79static struct kmem_cache *btrfs_inode_cachep;
80struct kmem_cache *btrfs_trans_handle_cachep; 80struct kmem_cache *btrfs_trans_handle_cachep;
@@ -10020,7 +10020,7 @@ static const struct file_operations btrfs_dir_file_operations = {
10020 .fsync = btrfs_sync_file, 10020 .fsync = btrfs_sync_file,
10021}; 10021};
10022 10022
10023static struct extent_io_ops btrfs_extent_io_ops = { 10023static const struct extent_io_ops btrfs_extent_io_ops = {
10024 .fill_delalloc = run_delalloc_range, 10024 .fill_delalloc = run_delalloc_range,
10025 .submit_bio_hook = btrfs_submit_bio_hook, 10025 .submit_bio_hook = btrfs_submit_bio_hook,
10026 .merge_bio_hook = btrfs_merge_bio_hook, 10026 .merge_bio_hook = btrfs_merge_bio_hook,