From 7373ddf55f6738ab0e1616c51fe00a246f295b02 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 7 Jul 2009 15:41:19 -0700 Subject: [PATCH] hash_lock should always be initialized --- module/zfs/arc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/zfs/arc.c b/module/zfs/arc.c index c7385cff23..bfcb84451c 100644 --- a/module/zfs/arc.c +++ b/module/zfs/arc.c @@ -2955,7 +2955,7 @@ void arc_release(arc_buf_t *buf, void *tag) { arc_buf_hdr_t *hdr; - kmutex_t *hash_lock; + kmutex_t *hash_lock = NULL; l2arc_buf_hdr_t *l2hdr; uint64_t buf_size = 0; boolean_t released = B_FALSE;