diff options
author | David Sterba <dsterba@suse.com> | 2015-11-19 11:42:28 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-01-07 15:01:14 +0100 |
commit | 20e5506baf3fd651e245bc970d8c11a734ee1b8a (patch) | |
tree | 429cae426bb8b1cb38b261d485e0ebecc093e439 /fs/btrfs/free-space-cache.c | |
parent | 28f0779a3fd6ef015303780f0b9a92b24728bc4b (diff) | |
download | talos-op-linux-20e5506baf3fd651e245bc970d8c11a734ee1b8a.tar.gz talos-op-linux-20e5506baf3fd651e245bc970d8c11a734ee1b8a.zip |
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/free-space-cache.c')
-rw-r--r-- | fs/btrfs/free-space-cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c index cfe99bec49de..ed8a3b7d3565 100644 --- a/fs/btrfs/free-space-cache.c +++ b/fs/btrfs/free-space-cache.c @@ -2016,7 +2016,7 @@ static bool use_bitmap(struct btrfs_free_space_ctl *ctl, return true; } -static struct btrfs_free_space_op free_space_op = { +static const struct btrfs_free_space_op free_space_op = { .recalc_thresholds = recalculate_thresholds, .use_bitmap = use_bitmap, }; |