dm cache: pass cache structure to mode functions
authorMike Snitzer <snitzer@redhat.com>
Fri, 20 Oct 2017 01:01:04 +0000 (21:01 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Aug 2020 07:48:23 +0000 (09:48 +0200)
commit755b4e83e11cfc530e426e1f717e97dc8af31d3d
treea2a43c037da6a47f72cb3db909dedce21874eaa1
parent6a7a29935d98567331ae26b183422e22f4d0ae90
dm cache: pass cache structure to mode functions

commit 8e3c3827776fc93728c0c8d7c7b731226dc6ee23 upstream.

No functional changes, just a bit cleaner than passing cache_features
structure.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/dm-cache-target.c