diff options
author | marcel <marcel@FreeBSD.org> | 2013-06-10 15:22:27 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2013-06-10 15:22:27 +0000 |
commit | ded5e8df052f0a617d2ef4294cd4c372b55801e7 (patch) | |
tree | 221b2096631975849d177e667058c656dc8f2f22 /sys/kern/vfs_mount.c | |
parent | 793c8410e6ea82ff4971a557cc80e74a31e3b1c5 (diff) | |
download | FreeBSD-src-ded5e8df052f0a617d2ef4294cd4c372b55801e7.zip FreeBSD-src-ded5e8df052f0a617d2ef4294cd4c372b55801e7.tar.gz |
Revert r251590. It unexpectedly broke the build and there were some
questions on locking. As part of commit-bit grooming, I'd like Steve
to handle this, but can't leave things broken in the mean time.
Diffstat (limited to 'sys/kern/vfs_mount.c')
-rw-r--r-- | sys/kern/vfs_mount.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index 2e5d12f..448fdbb 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -864,7 +864,6 @@ vfs_domount_first( VOP_UNLOCK(newdp, 0); VOP_UNLOCK(vp, 0); mountcheckdirs(vp, newdp); - EVENTHANDLER_INVOKE(vfs_mounted, mp, newdp, td); vrele(newdp); if ((mp->mnt_flag & MNT_RDONLY) == 0) vfs_allocate_syncvnode(mp); @@ -1356,7 +1355,6 @@ dounmount(mp, flags, td) mtx_lock(&mountlist_mtx); TAILQ_REMOVE(&mountlist, mp, mnt_list); mtx_unlock(&mountlist_mtx); - EVENTHANDLER_INVOKE(vfs_unmounted, mp, td); if (coveredvp != NULL) { coveredvp->v_mountedhere = NULL; vput(coveredvp); |