git: devfs - Change make_dev_covering to use dev_ops
Alex Hornung
alexh at crater.dragonflybsd.org
Fri Sep 25 15:41:56 PDT 2009
commit 8f960aa9edd1c1e433045d914449688db39f87dc
Author: Alex Hornung <ahornung at gmail.com>
Date: Fri Sep 25 22:49:30 2009 +0100
devfs - Change make_dev_covering to use dev_ops
* Change make_dev_covering and all other related functions to use a
backing dev_ops instead of a backing cdev.
This allows for a more generic use of make_dev_covering, without the
need of an explicit backing cdev.
* Also change make_autoclone_dev to use the new make_dev_covering to
avoid maj/min collision between base clonable devices.
Summary of changes:
sys/kern/kern_conf.c | 8 ++++----
sys/kern/subr_disk.c | 6 +++---
sys/sys/conf.h | 2 +-
sys/sys/devfs.h | 2 +-
sys/sys/device.h | 4 ++--
sys/vfs/devfs/devfs_core.c | 8 ++++----
6 files changed, 15 insertions(+), 15 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8f960aa9edd1c1e433045d914449688db39f87dc
--
DragonFly BSD source repository
More information about the Commits
mailing list