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

Konstantin Belousov kib at
Mon Jun 16 17:42:03 UTC 2008

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 
  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

More information about the cvs-src mailing list