Don't make nested definition for range_seg_cache.
Reported by: ian MFC after: 1 week X-MFC-With: r272506
This commit is contained in:
parent
967689aeaf
commit
60bf73506e
@ -2584,6 +2584,7 @@ arc_reclaim_needed(void)
|
||||
|
||||
extern kmem_cache_t *zio_buf_cache[];
|
||||
extern kmem_cache_t *zio_data_buf_cache[];
|
||||
extern kmem_cache_t *range_seg_cache;
|
||||
|
||||
static void __noinline
|
||||
arc_kmem_reap_now(arc_reclaim_strategy_t strat)
|
||||
@ -2591,7 +2592,6 @@ arc_kmem_reap_now(arc_reclaim_strategy_t strat)
|
||||
size_t i;
|
||||
kmem_cache_t *prev_cache = NULL;
|
||||
kmem_cache_t *prev_data_cache = NULL;
|
||||
extern kmem_cache_t *range_seg_cache;
|
||||
|
||||
DTRACE_PROBE(arc__kmem_reap_start);
|
||||
#ifdef _KERNEL
|
||||
|
Loading…
Reference in New Issue
Block a user