]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add MNTK_LOOKUP_EXCL_DOTDOT struct mount flag, which specifies to the
authorkib <kib@FreeBSD.org>
Sun, 9 Sep 2012 19:11:52 +0000 (19:11 +0000)
committerkib <kib@FreeBSD.org>
Sun, 9 Sep 2012 19:11:52 +0000 (19:11 +0000)
commit01b848f0eebd0e92a90c06e0708aa3d48942ed79
tree7c0e814abcdde22ad04e0810b32053877bb598f2
parent7ea73aa912244bc9fcb5d57cf684c60efcde6401
Add MNTK_LOOKUP_EXCL_DOTDOT struct mount flag, which specifies to the
lookup code that dotdot lookups shall override any shared lock
requests with the exclusive one. The flag is useful for filesystems
which sometimes need to upgrade shared lock to exclusive inside the
VOP_LOOKUP or later, which cannot be done safely for dotdot, due to
dvp also locked and causing LOR.

In collaboration with:     pho
MFC after: 3 weeks
sys/kern/vfs_lookup.c
sys/sys/mount.h