diff options
author | phk <phk@FreeBSD.org> | 2005-01-13 12:25:19 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-01-13 12:25:19 +0000 |
commit | 3760addae23efed2c59b081d8b911fffafea8c14 (patch) | |
tree | 7d6746c70417d5e77d9141b543695fea22e9859b /sys/fs/coda/coda_vnops.c | |
parent | 1d0efb6bd215298a956b11bba7269f94b30a2b6c (diff) | |
download | FreeBSD-src-3760addae23efed2c59b081d8b911fffafea8c14.zip FreeBSD-src-3760addae23efed2c59b081d8b911fffafea8c14.tar.gz |
Ditch vfs_object_create() and make the callers call VOP_CREATEVOBJECT()
directly.
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 71b6976..9509115 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); } } |