Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jun 2008 17:34:59 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/fs/devfs devfs_devs.c devfs_int.h devfs_vnops.c src/sys/kern kern_conf.c src/sys/sys conf.h src/usr.bin/fstat fstat.c
Message-ID:  <200806161742.m5GHg2jj075120@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kib         2008-06-16 17:34:59 UTC

  FreeBSD src repository

  Modified files:
    sys/fs/devfs         devfs_devs.c devfs_int.h devfs_vnops.c 
    sys/kern             kern_conf.c 
    sys/sys              conf.h 
    usr.bin/fstat        fstat.c 
  Log:
  SVN rev 179828 on 2008-06-16 17:34:59Z by kib
  
  Struct cdev is always the member of the struct cdev_priv. When devfs
  needed to promote cdev to cdev_priv, the si_priv pointer was followed.
  
  Use member2struct() to calculate address of the wrapping cdev_priv.
  Rename si_priv to __si_reserved.
  
  Tested by:      pho
  Reviewed by:    ed
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.54      +3 -4      src/sys/fs/devfs/devfs_devs.c
  1.6       +2 -0      src/sys/fs/devfs/devfs_int.h
  1.163     +5 -5      src/sys/fs/devfs/devfs_vnops.c
  1.218     +6 -6      src/sys/kern/kern_conf.c
  1.242     +1 -1      src/sys/sys/conf.h
  1.69      +2 -3      src/usr.bin/fstat/fstat.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806161742.m5GHg2jj075120>