]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:23:13 +0000 (14:23 +0200)
commit900128367f2691c34783f6ebed291e2bb6ce14db
tree71fd8b7b6f1504e54db9324ef845b3ac76d6990c
parent2687fe4e7cba20b78f7c0593af35b6cf1982af47
dm writecache: return void from functions

[ Upstream commit 77d633033d9fa99147f4f07526573225df822279 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/md/dm-writecache.c