]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Tighten up the check for race in zfs_zget() - ZTOV(zp) can not only contain
authorPawel Jakub Dawidek <pjd@FreeBSD.org>
Sat, 12 Sep 2009 19:27:54 +0000 (19:27 +0000)
committerPawel Jakub Dawidek <pjd@FreeBSD.org>
Sat, 12 Sep 2009 19:27:54 +0000 (19:27 +0000)
commit2a8e7dad33f5a14c19fc5e3404cdb9c4fa34dd15
treea9c51d7f46e7b862f3a244ff5fd3637cdf634981
parentcc5776b24dc22fded65cb6ca4b04f0df502af386
Tighten up the check for race in zfs_zget() - ZTOV(zp) can not only contain
NULL, but also can point to dead vnode, take that into account.

PR: kern/132068
Reported by: Edward Fisk" <7ogcg7g02@sneakemail.com>, kris
Fix based on patch from: Jaakko Heinonen <jh@saunalahti.fi>
MFC after: 1 week
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c