dm cache: pass cache structure to mode functions
authorMike Snitzer <snitzer@redhat.com>
Fri, 20 Oct 2017 01:01:04 +0000 (21:01 -0400)
committerMike Snitzer <snitzer@redhat.com>
Fri, 10 Nov 2017 20:44:42 +0000 (15:44 -0500)
commit8e3c3827776fc93728c0c8d7c7b731226dc6ee23
treeae88e978c1ac2532cde1138a510982ec8e97a1fb
parentd1260e2a3f85f4c1010510a15f89597001318b1b
dm cache: pass cache structure to mode functions

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

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-cache-target.c