summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/fs/initramfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/initramfs.c b/sys/fs/initramfs.c
index 4c47da8..57b6456 100644
--- a/sys/fs/initramfs.c
+++ b/sys/fs/initramfs.c
@@ -227,6 +227,7 @@ initramfs_reclaim(struct vnode *vp)
dynfree(vp->data);
}
+ vp->data = NULL;
return 0;
}