diff options
Diffstat (limited to 'drivers/md/dm-snap.c')
-rw-r--r-- | drivers/md/dm-snap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/md/dm-snap.c b/drivers/md/dm-snap.c index 91c7aa1fed0e..b0ce2ce82278 100644 --- a/drivers/md/dm-snap.c +++ b/drivers/md/dm-snap.c | |||
@@ -88,8 +88,8 @@ struct pending_exception { | |||
88 | * Hash table mapping origin volumes to lists of snapshots and | 88 | * Hash table mapping origin volumes to lists of snapshots and |
89 | * a lock to protect it | 89 | * a lock to protect it |
90 | */ | 90 | */ |
91 | static kmem_cache_t *exception_cache; | 91 | static struct kmem_cache *exception_cache; |
92 | static kmem_cache_t *pending_cache; | 92 | static struct kmem_cache *pending_cache; |
93 | static mempool_t *pending_pool; | 93 | static mempool_t *pending_pool; |
94 | 94 | ||
95 | /* | 95 | /* |
@@ -228,7 +228,7 @@ static int init_exception_table(struct exception_table *et, uint32_t size) | |||
228 | return 0; | 228 | return 0; |
229 | } | 229 | } |
230 | 230 | ||
231 | static void exit_exception_table(struct exception_table *et, kmem_cache_t *mem) | 231 | static void exit_exception_table(struct exception_table *et, struct kmem_cache *mem) |
232 | { | 232 | { |
233 | struct list_head *slot; | 233 | struct list_head *slot; |
234 | struct exception *ex, *next; | 234 | struct exception *ex, *next; |