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

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Fri, 16 May 2008 10:35:16 +0000 (UTC)
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
Received on Fri May 16 2008 - 10:35:17 UTC