mirror of
https://github.com/opnsense/src.git
synced 2026-03-18 00:25:50 -04:00
Create a correctly sized vnode objects for disk devices.
This commit is contained in:
parent
b5b6ec5faa
commit
bc0fc6fcc3
1 changed files with 1 additions and 0 deletions
|
|
@ -141,6 +141,7 @@ g_vfs_open(struct vnode *vp, struct g_consumer **cpp, const char *fsname, int wr
|
|||
g_wither_geom(gp, ENXIO);
|
||||
return (error);
|
||||
}
|
||||
vnode_create_vobject(vp, pp->mediasize, curthread);
|
||||
*cpp = cp;
|
||||
bo = &vp->v_bufobj;
|
||||
bo->bo_ops = g_vfs_bufops;
|
||||
|
|
|
|||
Loading…
Reference in a new issue