Just like any other mount point, "/" should not be remounted - dunno

why that was there before. Thanks to Ingo for pointing this out.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8981 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-09-16 15:34:26 +00:00
parent bfe052ed74
commit 452ba3abd1

View File

@ -3535,10 +3535,9 @@ fs_mount(char *path, const char *device, const char *fsName, void *args, bool ke
goto err5;
}
// XXX insert check to make sure covered_vnode is a DIR, or maybe it's okay for it not to be
// ToDo: insert check to make sure covered_vnode is a DIR, or maybe it's okay for it not to be
if (covered_vnode != sRoot
&& covered_vnode->mount->root_vnode == covered_vnode) {
if (covered_vnode->mount->root_vnode == covered_vnode) {
err = ERR_VFS_ALREADY_MOUNTPOINT;
goto err5;
}