diff options
author | David Sterba <dsterba@suse.com> | 2015-11-19 13:42:28 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-01-07 17:01:14 +0300 |
commit | 20e5506baf3fd651e245bc970d8c11a734ee1b8a (patch) | |
tree | 429cae426bb8b1cb38b261d485e0ebecc093e439 /fs/btrfs/inode-map.c | |
parent | 28f0779a3fd6ef015303780f0b9a92b24728bc4b (diff) | |
download | linux-20e5506baf3fd651e245bc970d8c11a734ee1b8a.tar.xz |
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-map.c')
-rw-r--r-- | fs/btrfs/inode-map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/inode-map.c b/fs/btrfs/inode-map.c index 767a6056ac45..53014e963617 100644 --- a/fs/btrfs/inode-map.c +++ b/fs/btrfs/inode-map.c @@ -334,7 +334,7 @@ static bool use_bitmap(struct btrfs_free_space_ctl *ctl, return true; } -static struct btrfs_free_space_op free_ino_op = { +static const struct btrfs_free_space_op free_ino_op = { .recalc_thresholds = recalculate_thresholds, .use_bitmap = use_bitmap, }; @@ -356,7 +356,7 @@ static bool pinned_use_bitmap(struct btrfs_free_space_ctl *ctl, return false; } -static struct btrfs_free_space_op pinned_free_ino_op = { +static const struct btrfs_free_space_op pinned_free_ino_op = { .recalc_thresholds = pinned_recalc_thresholds, .use_bitmap = pinned_use_bitmap, }; |