diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c index 911bd58602ad..70d84a680597 100644 --- a/sys/kern/vfs_vnops.c +++ b/sys/kern/vfs_vnops.c @@ -188,6 +188,7 @@ vn_open(ndp, flagp, cmode) */ if (vn_canvmio(vp) == TRUE) { if ((error = vfs_object_create(vp, td, cred)) != 0) + /* XXX: Should VOP_CLOSE() again here. */ goto bad; }