ah, ok, in that specific case old_pwd == old_root so there is no problem,
but I wanted to apply your set_fs_pwd() function in general case, for
arbitrary tsk->fs->pwd.
So, I think the answer is - there is no bug in chroot_fs_refs() because of
that specific case, but, in general set_fs_pwd() may block. Right?
Thanks,
Tigran
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/