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
This commit is contained in:
parent
0ca97bb61f
commit
ecaf3257be
@ -665,7 +665,6 @@ ffs_mountfs(devvp, mp, td)
|
|||||||
if (mp->mnt_iosize_max > MAXPHYS)
|
if (mp->mnt_iosize_max > MAXPHYS)
|
||||||
mp->mnt_iosize_max = MAXPHYS;
|
mp->mnt_iosize_max = MAXPHYS;
|
||||||
|
|
||||||
devvp->v_bufobj.bo_private = cp;
|
|
||||||
devvp->v_bufobj.bo_ops = &ffs_ops;
|
devvp->v_bufobj.bo_ops = &ffs_ops;
|
||||||
|
|
||||||
fs = NULL;
|
fs = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user