mirror of
https://review.haiku-os.org/haiku
synced 2025-02-23 05:58:31 +01:00
* 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:
parent
1c78a18edc
commit
67804f25ed
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user