]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r300364:
authorkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 4 Jun 2016 10:16:58 +0000 (10:16 +0000)
committerkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 4 Jun 2016 10:16:58 +0000 (10:16 +0000)
commit372d415a6057a8b023963285c594b303399811bd
tree48db077446141bbe3b2496bfa16c89e656a0eaaf
parent9d1fefce156b998f093d9861ac688bf3bc3f4c4e
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.

git-svn-id: svn://svn.freebsd.org/base/stable/10@301310 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/ufs/ffs/ffs_vfsops.c