]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r300364:
authorkib <kib@FreeBSD.org>
Sat, 4 Jun 2016 10:16:58 +0000 (10:16 +0000)
committerkib <kib@FreeBSD.org>
Sat, 4 Jun 2016 10:16:58 +0000 (10:16 +0000)
commit78ba863c39b7ca4524efdbfe5a87c763f93f9054
tree48db077446141bbe3b2496bfa16c89e656a0eaaf
parent0ec6462c7bfa7a6a0dfbe038697d711d955e2ebe
MFC r300364:
Improve handling of rdev->si_mountpt on mount and unmount of FFS
volumes.  Treat the field as a semaphore protecting availability of
the device for mounting.  Do no access devvp->v_rdev without the vnode
lock owned.

Protect change of the devvp->v_bufobj bo_ops vector with the vnode
lock.
sys/ufs/ffs/ffs_vfsops.c