Date: Mon, 27 Sep 2010 17:47:09 +0000 (UTC) From: Jaakko Heinonen <jh@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/conf files src/sys/fs/devfs devfs.h devfs_devs.c devfs_dir.c devfs_int.h devfs_vnops.c Message-ID: <201009271747.o8RHlVdQ067953@repoman.freebsd.org>
index | next in thread | raw e-mail
jh 2010-09-27 17:47:09 UTC
FreeBSD src repository
Modified files:
sys/conf files
sys/fs/devfs devfs.h devfs_devs.c devfs_int.h
devfs_vnops.c
Added files:
sys/fs/devfs devfs_dir.c
Log:
SVN rev 213215 on 2010-09-27 17:47:09Z by jh
Add reference counting for devfs paths containing user created symbolic
links. The reference counting is needed to be able to determine if a
specific devfs path exists. For true device file paths we can traverse
the cdevp_list but a separate directory list is needed for user created
symbolic links.
Add a new directory entry flag DE_USER to mark entries which should
unreference their parent directory on deletion.
A new function to traverse cdevp_list and the directory list will be
introduced in a separate commit.
Idea from: kib
Reviewed by: kib
Revision Changes Path
1.1533 +1 -0 src/sys/conf/files
1.38 +4 -1 src/sys/fs/devfs/devfs.h
1.66 +12 -1 src/sys/fs/devfs/devfs_devs.c
1.1 +175 -0 src/sys/fs/devfs/devfs_dir.c (new)
1.10 +6 -0 src/sys/fs/devfs/devfs_int.h
1.196 +2 -0 src/sys/fs/devfs/devfs_vnops.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009271747.o8RHlVdQ067953>
