From 793f542244051f787b5e54c35452892c2bb8a6f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 30 Aug 2006 23:12:31 +0000 Subject: [PATCH] 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 --- src/system/kernel/fs/vfs.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/system/kernel/fs/vfs.cpp b/src/system/kernel/fs/vfs.cpp index 2eb254aac6..64de63ff9d 100644 --- a/src/system/kernel/fs/vfs.cpp +++ b/src/system/kernel/fs/vfs.cpp @@ -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 mutex_unlock(&sVnodeMutex); 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); continue; }