Added a comment about the outcome of a potential problem.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18717 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -5502,6 +5502,8 @@ fs_unmount(char *path, uint32 flags, bool kernel)
|
|||||||
// wait a bit until the last access is finished, and then try again
|
// wait a bit until the last access is finished, and then try again
|
||||||
mutex_unlock(&sVnodeMutex);
|
mutex_unlock(&sVnodeMutex);
|
||||||
snooze(100000);
|
snooze(100000);
|
||||||
|
// TODO: if there is some kind of bug that prevents the ref counts
|
||||||
|
// from getting back to zero, this will fall into an endless loop...
|
||||||
mutex_lock(&sVnodeMutex);
|
mutex_lock(&sVnodeMutex);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user