]> git.proxmox.com Git - mirror_spl-debian.git/commit
Coverity 9649, 9650, 9651: Uninit
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 18 Feb 2009 17:48:07 +0000 (09:48 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 18 Feb 2009 17:48:07 +0000 (09:48 -0800)
commit1315c884379965af367d1a38c695f73ad7d6e0c1
treef4a8f81442ea2e2a0b2a922ebdaf98110d361e19
parentbb01879ebe5ba5d8e2c2177d3b1ce0272c17ce07
Coverity 9649, 9650, 9651: Uninit

This check was originally added to detect double initializations
of mutex types (which it did find).  Unfortunately, Coverity is
right that there is a very small chance we could trigger the
assertion by accident because an uninitialized stack variable
happens to contain the mutex magic.  This is particularly unlikely
since we do poison the mutexs when destroyed but still possible.
Therefore I'm simply removing the assertion.
module/spl/spl-mutex.c