Skip to content

Commit

Permalink
Drop an unnecessary setting of si_mountpt when updating a UFS mount p…
Browse files Browse the repository at this point in the history
…oint.

Clearly it must have been set when the mount was done.

Reviewed by: kib
  • Loading branch information
mckusick authored and mckusick committed Apr 8, 2012
1 parent 78124cf commit a94a9f9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sys/ufs/ffs/ffs_vfsops.c
Expand Up @@ -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);
Expand Down

0 comments on commit a94a9f9

Please sign in to comment.