diff options
Diffstat (limited to 'sys/fs/coda')
-rw-r--r-- | sys/fs/coda/coda_fbsd.c | 4 | ||||
-rw-r--r-- | sys/fs/coda/coda_vnops.c | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/fs/coda/coda_fbsd.c b/sys/fs/coda/coda_fbsd.c index 8fe503b..19953e1 100644 --- a/sys/fs/coda/coda_fbsd.c +++ b/sys/fs/coda/coda_fbsd.c @@ -140,9 +140,9 @@ printf("coda_getp: Internally Opening %p\n", vp); return (error); } if (vp->v_type == VREG) { - error = vfs_object_create(vp, p, cred); + error = VOP_CREATEVOBJECT(vp, cred, p); if (error != 0) { - printf("coda_getpage: vfs_object_create() returns %d\n", error); + printf("coda_getpage: VOP_CREATEVOBJECT() returns %d\n", error); vput(vp); return(error); } 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); } } |