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_fbsd.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_fbsd.c')
-rw-r--r-- | sys/fs/coda/coda_fbsd.c | 4 |
1 files changed, 2 insertions, 2 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); } |