]> git.baikalelectronics.ru Git - kernel.git/commit
dm writecache: return void from functions
authorMikulas Patocka <mpatocka@redhat.com>
Mon, 11 Jul 2022 20:30:27 +0000 (16:30 -0400)
committerMike Snitzer <snitzer@kernel.org>
Thu, 14 Jul 2022 19:52:31 +0000 (15:52 -0400)
commit77d633033d9fa99147f4f07526573225df822279
tree0f2face0503bb30e16a9582cd03244a3817284c1
parenta5ff43121ec3deaecb0fdcc4c04d521f7ef17fbf
dm writecache: return void from functions

The functions writecache_map_remap_origin and writecache_bio_copy_ssd
only return a single value, thus they can be made to return void.

This helps simplify the following IO accounting changes.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
drivers/md/dm-writecache.c