Date: Tue, 21 Sep 2010 16:49:02 +0000 (UTC) From: Jaakko Heinonen <jh@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/devfs devfs.h devfs_vnops.c Message-ID: <201009211649.o8LGnCEq034777@repoman.freebsd.org>
index | next in thread | raw e-mail
jh 2010-09-21 16:49:02 UTC
FreeBSD src repository
Modified files:
sys/fs/devfs devfs.h devfs_vnops.c
Log:
SVN rev 212966 on 2010-09-21 16:49:02Z by jh
Modify devfs_fqpn() for future use in devfs path reference counting
code:
- Accept devfs_mount and devfs_dirent as the arguments instead of a
vnode. This generalizes the function so that it can be used from
contexts where vnode references are not available.
- Accept NULL cnp argument. No '/' will be appended, if a NULL cnp is
provided.
- Make the function global and add its prototype to devfs.h.
Reviewed by: kib
Revision Changes Path
1.37 +4 -0 src/sys/fs/devfs/devfs.h
1.195 +19 -14 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?201009211649.o8LGnCEq034777>
