diff options
author | kib <kib@FreeBSD.org> | 2010-06-03 10:20:08 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2010-06-03 10:20:08 +0000 |
commit | 2ba33ab98eb607efe3f9a55b0cd863ca7a7fad43 (patch) | |
tree | 8eab17681bdad281d26b68d75c303a74a173c76c /libexec | |
parent | fb3a28316e453c48eb1865984f66223aa1375982 (diff) | |
download | FreeBSD-src-2ba33ab98eb607efe3f9a55b0cd863ca7a7fad43.zip FreeBSD-src-2ba33ab98eb607efe3f9a55b0cd863ca7a7fad43.tar.gz |
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.
Submitted by: Mikolaj Golub <to.my.trociny@gmail.com>
Tested by: pho
MFC after: 2 weeks
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions