* fs_unmount() removed the vnodes of the fs_mount twice since r28215,
triggering an assert. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28344 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -7107,7 +7107,7 @@ fs_unmount(char *path, dev_t mountID, uint32 flags, bool kernel)
|
|||||||
// Free all vnodes associated with this mount.
|
// Free all vnodes associated with this mount.
|
||||||
// They will be removed from the mount list by free_vnode(), so
|
// They will be removed from the mount list by free_vnode(), so
|
||||||
// we don't have to do this.
|
// we don't have to do this.
|
||||||
while ((vnode = mount->vnodes.RemoveHead()) != NULL) {
|
while ((vnode = mount->vnodes.Head()) != NULL) {
|
||||||
free_vnode(vnode, false);
|
free_vnode(vnode, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user