diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-02-15 19:13:28 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2017-02-16 20:14:36 +0100 |
commit | b79af13efd98ca2908f2df1120e79a7ff70faa0d (patch) | |
tree | d1f3359b0158aac5d5a886b01a52774f54f35bd2 /drivers/md/dm-stats.c | |
parent | dm cache metadata: use cursor api in blocks_are_clean_separate_dirty() (diff) | |
download | linux-b79af13efd98ca2908f2df1120e79a7ff70faa0d.tar.xz linux-b79af13efd98ca2908f2df1120e79a7ff70faa0d.zip |
dm space map metadata: constify dm_space_map structures
Declare dm_space_map structures as const as they are only passed as an
argument to the function memcpy. This argument is of type const void *,
so dm_space_map structures having this property can be declared as
const.
File size before:
text data bss dec hex filename
4889 240 0 5129 1409 dm-space-map-metadata.o
File size after:
text data bss dec hex filename
5139 0 0 5139 1413 dm-space-map-metadata.o
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-stats.c')
0 files changed, 0 insertions, 0 deletions