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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user