]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r230256:
authorpluknet <pluknet@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 24 Jan 2012 10:32:02 +0000 (10:32 +0000)
committerpluknet <pluknet@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 24 Jan 2012 10:32:02 +0000 (10:32 +0000)
commit047f22745fee83fa7d8a2b19ceba0a862caa9b57
treea27087372f32daec42ace10a790de5b575bbf6ed
parent3415ff9814e9beb0a2fa6ac5cef5c286c57325d5
MFC r230256:
 Fix the "lock &zrl->zr_mtx already initialized" assertion by initializing
 the allocated memory before calling mtx_init(9) on mtx pointing to it.
 Otherwize, random contents of uninitialized memory might occasionally
 trigger the assertion.

 Reported by:  Pavel Polyakov <bsd kobyla org>
 Reviewed by:  pjd

git-svn-id: svn://svn.freebsd.org/base/stable/8@230498 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c