git: DragonFly_RELEASE_2_4 devfs - Change make_dev_covering to use dev_ops

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Sep 28 16:16:35 PDT 2009


commit b17f0c0d29fc3ee236a4ff5b42f2e66e0b8a1abf
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/b17f0c0d29fc3ee236a4ff5b42f2e66e0b8a1abf


-- 
DragonFly BSD source repository





More information about the Commits mailing list