Date: Fri, 10 May 2002 08:41:14 -0700 (PDT) From: Maxime Henrion <mux@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/devfs devfs_vnops.c Message-ID: <200205101541.g4AFfEp14640@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
mux 2002/05/10 08:41:14 PDT
Modified files:
sys/fs/devfs devfs_vnops.c
Log:
Fix several bugs in devfs_lookupx(). When we check the nameiop to
make sure it's a correct operation for devfs, do it only in the
ISLASTCN case. If we don't, we are assuming that the final file will
be in devfs, which is not true if another partition is mounted on top
of devfs or with special filenames (like /dev/net/../../foo).
Reviewed by: phk
Revision Changes Path
1.39 +3 -3 src/sys/fs/devfs/devfs_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?200205101541.g4AFfEp14640>
