summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_linker.c
diff options
context:
space:
mode:
authorjh <jh@FreeBSD.org>2010-09-27 17:47:09 +0000
committerjh <jh@FreeBSD.org>2010-09-27 17:47:09 +0000
commitb6e78e30f23dbed7263727af46739f94ef85fd86 (patch)
treeaac5e5193fff6dc7e4ad901a2ea6b4bab1a82a25 /sys/kern/kern_linker.c
parent0901947e8d8500bb8120febd32587bc1eeabca98 (diff)
downloadFreeBSD-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/kern/kern_linker.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud