summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ffs
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2010-04-03 08:25:04 +0000
committeravg <avg@FreeBSD.org>2010-04-03 08:25:04 +0000
commitd488f0b5490dd5c0372abfb2ea9af844ccef5c83 (patch)
tree392c5cce0894db0802e242730d481652dde02fb9 /sys/ufs/ffs
parent5c30b3d015e33bc7078d4e74941815dc05566c11 (diff)
downloadFreeBSD-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/ufs/ffs')
-rw-r--r--sys/ufs/ffs/ffs_vfsops.c1
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;
OpenPOWER on IntegriCloud