Date: Sun, 30 Sep 2001 12:41:29 -0700 (PDT) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/pseudofs pseudofs.h pseudofs_vnops.c Message-ID: <200109301941.f8UJfTN35348@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
des 2001/09/30 12:41:29 PDT Modified files: sys/fs/pseudofs pseudofs.h pseudofs_vnops.c Log: pseudofs.h: - Rearrange the flag constants a little to simplify specifying and testing for readability and writeability. pseudofs_vnops.c: - Track the aforementioned change. - Add checks to pfs_open() to prevent opening read-only files for writing or vice versa (pfs_{read,write} would block the actual reads and writes, but it's still a bug to allow the open() to succeed). Also, return EOPNOTSUPP if the caller attempts to lock the file. - Add more trace points. Revision Changes Path 1.9 +5 -4 src/sys/fs/pseudofs/pseudofs.h 1.13 +51 -35 src/sys/fs/pseudofs/pseudofs_vnops.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?200109301941.f8UJfTN35348>