svn commit: r234024 - head/sys/ufs/ffs
Kirk McKusick
mckusick at FreeBSD.org
Sun Apr 8 06:14:50 UTC 2012
Author: mckusick
Date: Sun Apr 8 06:14:49 2012
New Revision: 234024
URL: http://svn.freebsd.org/changeset/base/234024
Log:
Drop an unnecessary setting of si_mountpt when updating a UFS mount point.
Clearly it must have been set when the mount was done.
Reviewed by: kib
Modified:
head/sys/ufs/ffs/ffs_vfsops.c
Modified: head/sys/ufs/ffs/ffs_vfsops.c
==============================================================================
--- head/sys/ufs/ffs/ffs_vfsops.c Sun Apr 8 05:36:40 2012 (r234023)
+++ head/sys/ufs/ffs/ffs_vfsops.c Sun Apr 8 06:14:49 2012 (r234024)
@@ -407,8 +407,6 @@ ffs_mount(struct mount *mp)
vn_finished_write(mp);
return (error);
}
- if (devvp->v_type == VCHR && devvp->v_rdev != NULL)
- devvp->v_rdev->si_mountpt = mp;
if (fs->fs_snapinum[0] != 0)
ffs_snapshot_mount(mp);
vn_finished_write(mp);
More information about the svn-src-head
mailing list