Messages in this thread |  | | | Date | Tue, 16 Jul 2002 18:23:18 -0700 (PDT) | | From | Linus Torvalds <> | | Subject | Re: close return value |
| |
On Tue, 16 Jul 2002, David S. Miller wrote: > > Oh, Linus knows. In fact, Linus wrote some of the code in question. > > Ok, I think the issue here is different. > > Several years ago we were returning -EAGAIN from close() via NFS and > that is what caused the problems.
Oh.
Yes, EAGAIN doesn't really work as a close return value, simply because _nobody_ expects that (and leaving the file descriptor open after a close() is definitely unexpected, ie people can very validly complain about buggy behaviour).
Linus
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |