Date: Thu, 3 Jan 2002 01:54:24 -0800 (PST) From: Stefan Esser <se@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_syscalls.c Message-ID: <200201030954.g039sOx03288@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
se 2002/01/03 01:54:24 PST
Modified files:
sys/kern vfs_syscalls.c
Log:
Return EBADF in case some vnode field has been reset to a NULL pointer.
(There has been some discussion, whether ENOENT or EBADF is more
appropriate. I choose the latter, since the operation is not supported
on the file descriptor at that time, even if it was, immediately before.)
PR: 32681
Reviewed by: dillon, iedowse, ...
Approved by: nectar
MFC after: 3 days
(pending RE approval)
Revision Changes Path
1.216 +2 -0 src/sys/kern/vfs_syscalls.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201030954.g039sOx03288>
