]> granicus.if.org Git - spl/commit
Fix uninit variable in slab reclaim test
authorBrian Behlendorf <behlendo@fedora-17-amd64.(none)>
Wed, 13 Jun 2012 20:43:29 +0000 (13:43 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 13 Jun 2012 23:17:22 +0000 (16:17 -0700)
commiteaac9ba5102797e0a7e5a1eedb43d792a44770c8
tree4d6637c6cbb6c3537156cb483d71cc86ebe3355f
parent2371321e8a3d29e19cbc3a280f48636211abb480
Fix uninit variable in slab reclaim test

Gcc version 4.7.0 reports the delta.tv_sec in the slab reclaim test
as potentially unitialized.  In practice this will never occur but
to keep gcc happy we initialize the variable to zero.

Signed-off-by: Brian Behlendorf <behlendo@fedora-17-amd64.(none)>
module/splat/splat-kmem.c