mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
o vn_open() fails to call VOP_CLOSE() if vfs_object_create fails. Ideally
all successful calls to VOP_OPEN() might be reflected in a call to VOP_CLOSE(). For now, simply add a comment reflecting this problem; this should be fixed at some point.
This commit is contained in:
parent
ac9a258074
commit
fc2749a40c
1 changed files with 1 additions and 0 deletions
|
|
@ -188,6 +188,7 @@ restart:
|
|||
*/
|
||||
if (vn_canvmio(vp) == TRUE) {
|
||||
if ((error = vfs_object_create(vp, td, cred)) != 0)
|
||||
/* XXX: Should VOP_CLOSE() again here. */
|
||||
goto bad;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue