diff options
author | avg <avg@FreeBSD.org> | 2010-04-03 08:25:04 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2010-04-03 08:25:04 +0000 |
commit | d488f0b5490dd5c0372abfb2ea9af844ccef5c83 (patch) | |
tree | 392c5cce0894db0802e242730d481652dde02fb9 /sys | |
parent | 5c30b3d015e33bc7078d4e74941815dc05566c11 (diff) | |
download | FreeBSD-src-d488f0b5490dd5c0372abfb2ea9af844ccef5c83.zip FreeBSD-src-d488f0b5490dd5c0372abfb2ea9af844ccef5c83.tar.gz |
ffs_mount: remove redundant assignment of geom consumer to devvp.v_bufobj
The assignment is already done in g_vfs_open.
Redundant assignment is harmless, but can become a problem if g_vfs_open
logic is changed.
MFC after: 1 week
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index 8aa9f9c..656c036 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -665,7 +665,6 @@ ffs_mountfs(devvp, mp, td) if (mp->mnt_iosize_max > MAXPHYS) mp->mnt_iosize_max = MAXPHYS; - devvp->v_bufobj.bo_private = cp; devvp->v_bufobj.bo_ops = &ffs_ops; fs = NULL; |