we need to call put_vnode on unmount

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18666 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval
2006-08-28 12:32:47 +00:00
parent 277e8cd965
commit 9d254f4567
@@ -220,6 +220,9 @@ fs_unmount(void *_ns)
TRACE(("fs_unmount - ENTER\n"));
// Unlike in BeOS, we need to put the reference to our root node ourselves
put_vnode(ns->id, ISO_ROOTNODE_ID);
block_cache_delete(ns->fBlockCache, false);
close(ns->fdOfSession);
result = close(ns->fd);