diff options
author | jh <jh@FreeBSD.org> | 2010-09-27 17:47:09 +0000 |
---|---|---|
committer | jh <jh@FreeBSD.org> | 2010-09-27 17:47:09 +0000 |
commit | b6e78e30f23dbed7263727af46739f94ef85fd86 (patch) | |
tree | aac5e5193fff6dc7e4ad901a2ea6b4bab1a82a25 /sys/conf | |
parent | 0901947e8d8500bb8120febd32587bc1eeabca98 (diff) | |
download | FreeBSD-src-b6e78e30f23dbed7263727af46739f94ef85fd86.zip FreeBSD-src-b6e78e30f23dbed7263727af46739f94ef85fd86.tar.gz |
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
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/files | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files index 454764b..fc5fc74 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -1890,6 +1890,7 @@ fs/coda/coda_vfsops.c optional vcoda fs/coda/coda_vnops.c optional vcoda fs/deadfs/dead_vnops.c standard fs/devfs/devfs_devs.c standard +fs/devfs/devfs_dir.c standard fs/devfs/devfs_rule.c standard fs/devfs/devfs_vfsops.c standard fs/devfs/devfs_vnops.c standard |