]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't call the OSD destructor if the data slot is NULL
authorjamie <jamie@FreeBSD.org>
Thu, 30 Apr 2009 22:43:21 +0000 (22:43 +0000)
committerjamie <jamie@FreeBSD.org>
Thu, 30 Apr 2009 22:43:21 +0000 (22:43 +0000)
commitd462264a61048da50ccb5ab1ed29191f5a2e0a2f
tree853aa4f3d03a6b300f8b296a0273de282f22160f
parent90f2d4d25829782c76ed811c8c669e49c8e4ae2e
Don't call the OSD destructor if the data slot is NULL
(since it's already not done on unused slots, which are indistinguishable
to the caller).

Approved by: bz (mentor)
sys/kern/kern_osd.c