sys_getcwd() broken ?

Peter Horton (pdh@berserk.demon.co.uk)
Tue, 26 May 1998 01:36:03 +0100 (BST)


Hi all.

sys_getcwd() seems to always return ENOENT, unless I comment out the
unlinked directory check, in which case it works fine. Anyone know the
correct fix ?

fs/dcache.c:

- if (pwd->d_parent == pwd || !list_empty(&pwd->d_hash)) {
+ /* if (pwd->d_parent == pwd || !list_empty(&pwd->d_hash)) */ {

P.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu