aboutsummaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_subr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 850961e..b732cb4 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -85,6 +85,8 @@ vfs_release_vnode(struct vnode *vp)
return -EINVAL;
if (vops->reclaim != NULL)
status = vops->reclaim(vp);
+ if (status != 0)
+ return status;
dynfree(vp);
return status;