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:
parent
bfe052ed74
commit
452ba3abd1
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user