]> granicus.if.org Git - zfs/commitdiff
hash_lock should always be initialized
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 7 Jul 2009 22:41:19 +0000 (15:41 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 7 Jul 2009 22:41:19 +0000 (15:41 -0700)
module/zfs/arc.c

index c7385cff230d77f105c2dd114552bc4892de2308..bfcb84451c89380b72202063f74edc5d10e3fdd7 100644 (file)
@@ -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;