chroot broken in 2.1.45-6

NIIBE Yutaka (gniibe@mri.co.jp)
Wed, 16 Jul 1997 17:22:23 +0900


Hi,

Edward Welbon writes:
> chroot is broken, I discovered this when using lilo -r 8-(

Well, how about the following patch? Please try this out. I don't
have time to compile/reboot today.

-- 
NIIBE Yutaka

========================== --- fs/open.c~ Wed Jul 16 17:14:10 1997 +++ fs/open.c Wed Jul 16 17:16:41 1997 @@ -416,6 +416,7 @@ tmp = current->fs->root; current->fs->root = dentry; dentry = tmp; + error = 0; dput_and_out: dput(dentry);

==========================