freebsd-skq/sys/fs
ed 1bfc292986 Don't enforce unique device minor number policy anymore.
Except for the case where we use the cloner library (clone_create() and
friends), there is no reason to enforce a unique device minor number
policy. There are various drivers in the source tree that allocate unr
pools and such to provide minor numbers, without using them themselves.

Because we still need to support unique device minor numbers for the
cloner library, introduce a new flag called D_NEEDMINOR. All cdevsw's
that are used in combination with the cloner library should be marked
with this flag to make the cloning work.

This means drivers can now freely use si_drv0 to store their own flags
and state, making it effectively the same as si_drv1 and si_drv2. We
still keep the minor() and dev2unit() routines around to make drivers
happy.

The NTFS code also used the minor number in its hash table. We should
not do this anymore. If the si_drv0 field would be changed, it would no
longer end up in the same list.

Approved by:	philip (mentor)
2008-06-11 18:55:19 +00:00
..
cd9660 In cd9660_readdir vop, always initialize the idp->uio_off member. 2008-06-11 12:46:09 +00:00
coda Add the support for the AT_FDCWD and fd-relative name lookups to the 2008-03-31 12:01:21 +00:00
deadfs Below is slightly edited description of the LOR by Tor Egge: 2007-01-22 11:25:22 +00:00
devfs When devfs_allocv() committed to create new vnode, since de_vnode is NULL, 2008-06-05 09:15:47 +00:00
fdescfs - Add locking to all filesystem operations in fdescfs and flag it as MPSAFE. 2008-05-24 14:51:30 +00:00
fifofs Remove kernel support for M:N threading. 2008-03-12 10:12:01 +00:00
hpfs Cleanup lockmgr interface and exported KPI: 2008-01-24 12:34:30 +00:00
msdosfs Move the head of byte-level advisory lock list from the 2008-04-16 11:33:32 +00:00
ntfs Don't enforce unique device minor number policy anymore. 2008-06-11 18:55:19 +00:00
nullfs Add the support for the AT_FDCWD and fd-relative name lookups to the 2008-03-31 12:01:21 +00:00
nwfs Replace lockmgr lock protecting nwfs vnode hash table with an sx lock. 2008-03-02 19:02:30 +00:00
portalfs vn_lock() is currently only used with the 'curthread' passed as argument. 2008-01-10 01:10:58 +00:00
procfs Remove kernel support for M:N threading. 2008-03-12 10:12:01 +00:00
pseudofs Introduce some functions in the vnode locks namespace and in the ffs 2008-02-24 16:38:58 +00:00
smbfs Move the head of byte-level advisory lock list from the 2008-04-16 11:33:32 +00:00
tmpfs Move the head of byte-level advisory lock list from the 2008-04-16 11:33:32 +00:00
udf Fix and speedup timestamp calculations which is roughly based on the patch in 2008-05-16 22:31:17 +00:00
unionfs - change function name from *_vdir to *_vnode because 2008-05-07 05:32:55 +00:00