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

Konstantin Belousov kib at FreeBSD.org
Fri May 16 10:35:17 UTC 2008


kib         2008-05-16 10:35:16 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/fs/devfs         devfs_rule.c 
    sys/vm               vm_mmap.c 
  Log:
  MFC rev. 1.24 of the sys/fs/devfs/devfs_rule.c,
      rev. 1.218 of the sys/vm/vm_mmap.c
  
  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
  
  Revision   Changes    Path
  1.14.2.4   +12 -5     src/sys/fs/devfs/devfs_rule.c
  1.200.2.5  +16 -4     src/sys/vm/vm_mmap.c


More information about the cvs-all mailing list