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/unionfs/union_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/unionfs/union_vnops.c')
-rw-r--r-- | sys/fs/unionfs/union_vnops.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/fs/unionfs/union_vnops.c b/sys/fs/unionfs/union_vnops.c index 2dcfd2d..94df922 100644 --- a/sys/fs/unionfs/union_vnops.c +++ b/sys/fs/unionfs/union_vnops.c @@ -785,9 +785,8 @@ union_open(ap) /* * This is absolutely necessary or UFS will blow up. */ - if (error == 0 && vn_canvmio(tvp) == TRUE) { - error = vfs_object_create(tvp, td, cred); - } + if (error == 0 && vn_canvmio(tvp) == TRUE) + error = VOP_CREATEVOBJECT(tvp, cred, td); /* * Release any locks held. |