diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2005-01-24 21:51:19 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2005-01-24 21:51:19 +0000 |
commit | 625d4bc03aea24308d93b7357bad1520cdcee09b (patch) | |
tree | de9993e72275e8d7b239a022135f011d89328de4 /sys/fs/udf | |
parent | d07a6d3f6177239bbc47a24131f87738c1dfb1c3 (diff) | |
download | src-625d4bc03aea24308d93b7357bad1520cdcee09b.tar.gz src-625d4bc03aea24308d93b7357bad1520cdcee09b.zip |
Create a vp->v_object in VFS_FHTOVP() if we want to be exportable
with NFS.
We are moving responsibility for creating the vnode_pager object into
the filesystems which own the vnode, and this is one of the places
we have to cover.
We call vnode_create_vobject() directly because we own the vnode.
If we can get the size easily, pass it as an argument to save the
call to VOP_GETATTR() in vnode_create_vobject()
Notes
Notes:
svn path=/head/; revision=140768
Diffstat (limited to 'sys/fs/udf')
-rw-r--r-- | sys/fs/udf/udf_vfsops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/udf/udf_vfsops.c b/sys/fs/udf/udf_vfsops.c index 6a815af8cadd..d39f0cc683dc 100644 --- a/sys/fs/udf/udf_vfsops.c +++ b/sys/fs/udf/udf_vfsops.c @@ -705,6 +705,7 @@ udf_fhtovp(struct mount *mp, struct fid *fhp, struct vnode **vpp) } *vpp = nvp; + vnode_create_vobject(*vpp, 0, curthread); return (0); } |