--- linux-2.6.12.2-vs2.0-rc5x/fs/namei.c 2005-07-02 22:38:30 +0200 +++ linux-2.6.12.2-vs2.0-rc5y/fs/namei.c 2005-07-09 04:35:26 +0200 @@ -661,6 +661,7 @@ static inline void follow_dotdot(struct if (nd->dentry == current->fs->root && nd->mnt == current->fs->rootmnt) { read_unlock(¤t->fs->lock); + /* for sane / avoid follow_mount() */ return; } read_unlock(¤t->fs->lock); --- linux-2.6.12.2-vs2.0-rc5x/fs/namespace.c 2005-07-02 22:38:30 +0200 +++ linux-2.6.12.2-vs2.0-rc5y/fs/namespace.c 2005-07-09 04:35:26 +0200 @@ -225,8 +225,6 @@ static int mnt_is_reachable(struct vfsmo struct dentry *root, *point; int ret; - if (!mnt) - return 1; if (mnt == mnt->mnt_namespace->root) return 1;