diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2005-01-13 12:25:19 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2005-01-13 12:25:19 +0000 |
commit | e39db32ab0c4fcc55fb953b606c2e13c92bf6744 (patch) | |
tree | 7d6746c70417d5e77d9141b543695fea22e9859b /sys/fs/coda/coda_vnops.c | |
parent | e93572deddfd513a4e81173266a57ef198a071b6 (diff) | |
download | src-e39db32ab0c4fcc55fb953b606c2e13c92bf6744.tar.gz src-e39db32ab0c4fcc55fb953b606c2e13c92bf6744.zip |
Ditch vfs_object_create() and make the callers call VOP_CREATEVOBJECT()
directly.
Notes
Notes:
svn path=/head/; revision=140181
Diffstat (limited to 'sys/fs/coda/coda_vnops.c')
-rw-r--r-- | sys/fs/coda/coda_vnops.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/fs/coda/coda_vnops.c b/sys/fs/coda/coda_vnops.c index 71b69763d23c..950911519e4f 100644 --- a/sys/fs/coda/coda_vnops.c +++ b/sys/fs/coda/coda_vnops.c @@ -267,9 +267,9 @@ coda_open(struct vop_open_args *ap) } /* grab (above) does this when it calls newvnode unless it's in the cache*/ if (vp->v_type == VREG) { - error = vfs_object_create(vp, td, cred); + error = VOP_CREATEVOBJECT(vp, cred, td); if (error != 0) { - printf("coda_open: vfs_object_create() returns %d\n", error); + printf("coda_open: VOP_CREATEVOBJECT() returns %d\n", error); vput(vp); } } @@ -432,9 +432,9 @@ printf("coda_rdwr: Internally Opening %p\n", vp); return (error); } if (vp->v_type == VREG) { - error = vfs_object_create(vp, td, cred); + error = VOP_CREATEVOBJECT(vp, cred, td); if (error != 0) { - printf("coda_rdwr: vfs_object_create() returns %d\n", error); + printf("coda_rdwr: VOP_CREATEVOBJECT() returns %d\n", error); vput(vp); } } @@ -1563,9 +1563,9 @@ printf("coda_readdir: Internally Opening %p\n", vp); return (error); } if (vp->v_type == VREG) { - error = vfs_object_create(vp, td, cred); + error = VOP_CREATEVOBJECT(vp, cred, td); if (error != 0) { - printf("coda_readdir: vfs_object_create() returns %d\n", error); + printf("coda_readdir: VOP_CREATEVOBJECT() returns %d\n", error); vput(vp); } } |