]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 286974,291653:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 23 Jan 2016 01:02:28 +0000 (01:02 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 23 Jan 2016 01:02:28 +0000 (01:02 +0000)
commitd97f7b02cd8e16e9ec2fe400df7d273f9f18034e
tree76aeb0f3cf353817d4fef63c3fa6e12707b70073
parent84817b630898ac3b15fc1028b98a956cd1b667a2
MFC 286974,291653:

286974:
Remove reference to non-existent kern_openat(9).

291653:
The cdevpriv_dtr_t typedef was not able to be used in a function prototype
like the various d_*_t typedefs since it declared a function pointer rather
than a function.  Add a new d_priv_dtor_t typedef that declares the function
and can be used as a function prototype.  The previous typedef wasn't
useful outside of the cdevpriv implementation, so retire it.

The name d_priv_dtor_t was chosen to be more consistent with cdev methods
since it is commonly used in place of d_close_t even though it is not a
direct pointer in struct cdevsw.

git-svn-id: svn://svn.freebsd.org/base/stable/10@294612 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
share/man/man9/devfs_set_cdevpriv.9
sys/fs/devfs/devfs_vnops.c
sys/sys/conf.h