]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r208773:
authorkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 18 Jun 2010 09:40:01 +0000 (09:40 +0000)
committerkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 18 Jun 2010 09:40:01 +0000 (09:40 +0000)
commitd02ee776bc05970e7d7ad4fcbc4035529fe2f663
tree01ac00825b396719f07df58d8f5969b5072f36c7
parent72ee4c4c163b41736cd63e0cc02f61d6ac308462
MFC r208773:
Sometimes vnodes share the lock despite being different vnodes on
different mount points, e.g. the nullfs vnode and the covered vnode
from the lower filesystem. In this case, existing assertion in
vop_rename_pre() may be triggered.

Check for vnode locks equiality instead of the vnodes itself to
not trip over the situation.

git-svn-id: svn://svn.freebsd.org/base/stable/8@209293 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/vfs_subr.c