cvs commit: src/sys/netsmb smb_dev.c

From: Tai-hwa Liang <>
Date: Fri, 9 Feb 2007 02:54:13 +0000 (UTC)
avatar      2007-02-09 02:54:13 UTC

  FreeBSD src repository

  Modified files:
    sys/netsmb           smb_dev.c 
  It turns out that devfs_close() does a dev_refthread() before invoking
  device specific d_close(), which makes subsequent destroy_dev() being
  blocked in the "devdrn" loop.
  This bandaid should fix the smbfs hang/crashing observed on -CURRENT since
  the introduction of sys/kern/kern_conf.c:1.199:
          # mount_smbfs -I server //server/share /mnt
  Reviewed by:    bp
  See also:
  Revision  Changes    Path
  1.30      +1 -0      src/sys/netsmb/smb_dev.c
Received on Fri Feb 09 2007 - 02:54:14 UTC