summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_vnops.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2002-02-18 00:26:10 +0000
committerRobert Watson <rwatson@FreeBSD.org>2002-02-18 00:26:10 +0000
commit4729fbd85fdb659d6959b68fb6ce23200add4fab (patch)
tree227e102ca805695a596a2d163ed6b8306de09c99 /sys/kern/vfs_vnops.c
parent3056874a81486c061ec12bd58517c4d72d9c5ce3 (diff)
downloadsrc-test2-4729fbd85fdb659d6959b68fb6ce23200add4fab.tar.gz
src-test2-4729fbd85fdb659d6959b68fb6ce23200add4fab.zip
Notes
Diffstat (limited to 'sys/kern/vfs_vnops.c')
-rw-r--r--sys/kern/vfs_vnops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c
index e9b3e904051a..32fe982e879c 100644
--- a/sys/kern/vfs_vnops.c
+++ b/sys/kern/vfs_vnops.c
@@ -199,7 +199,7 @@ restart:
*/
if (vn_canvmio(vp) == TRUE) {
if ((error = vfs_object_create(vp, td, cred)) != 0)
- /* XXX: Should VOP_CLOSE() again here. */
+ VOP_CLOSE(vp, fmode, cred, td);
goto bad;
}