* 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:
Axel Dörfler 2008-10-27 14:33:58 +00:00
parent 1c78a18edc
commit 67804f25ed

View File

@ -7107,7 +7107,7 @@ fs_unmount(char *path, dev_t mountID, uint32 flags, bool kernel)
// Free all vnodes associated with this mount.
// They will be removed from the mount list by free_vnode(), so
// we don't have to do this.
while ((vnode = mount->vnodes.RemoveHead()) != NULL) {
while ((vnode = mount->vnodes.Head()) != NULL) {
free_vnode(vnode, false);
}