cvs commit: src/sys/vm vm_mmap.c src/sys/fs/devfs devfs_rule.c

Konstantin Belousov kib at FreeBSD.org
Thu Mar 20 09:08:43 PDT 2008


kib         2008-03-20 16:08:42 UTC

  FreeBSD src repository

  Modified files:
    sys/vm               vm_mmap.c 
    sys/fs/devfs         devfs_rule.c 
  Log:
  Do not dereference cdev->si_cdevsw, use the dev_refthread() to properly
  obtain the reference. In particular, this fixes the panic reported in
  the PR. Remove the comments stating that this needs to be done.
  
  PR:     kern/119422
  MFC after:      1 week
  
  Revision  Changes    Path
  1.24      +12 -5     src/sys/fs/devfs/devfs_rule.c
  1.218     +16 -4     src/sys/vm/vm_mmap.c


More information about the cvs-src mailing list