[Switching to help-hurd.]

Marcus Brinkmann <[EMAIL PROTECTED]> wrote:
> Any comments welcome, of course!

I don't have a comment (except for that I like the coding style), but I
have a question:

> error_t
> netfs_attempt_lookup (struct iouser *user, struct node *dir,
>                       char *name, struct node **node)
> {
[...]
>   if (strcmp (name, "..") == 0)
>     {
>       /* Parent directory -- if this is the root directory, return
>          EAGAIN.  Otherwise return the root node, because we know
>          that our hierarchy is only one level deep.  */

Why do we return EAGAIN in this case? I don't understand that (and
neither did the people I was asking about it on #hurd).

Cheers,
GNU/Wolfgang

-- 
Wolfgang Jährling  <[EMAIL PROTECTED]>  \\  http://stdio.cjb.net/
Debian GNU/Hurd user && Debian GNU/Linux user \\  http://www.gnu.org/
The Hurd Hacking Guide: http://www.gnu.org/software/hurd/hacking-guide/
["We're way ahead of you here. The Hurd has always been on the    ]
[ cutting edge of not being good for anything." -- Roland McGrath ]

_______________________________________________
Help-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-hurd

Reply via email to