DragonFly BSD
DragonFly commits List (threaded) for 2005-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/vfs/specfs spec_vnops.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 3 Sep 2005 01:01:32 -0700 (PDT)

dillon      2005/09/03 01:01:32 PDT

DragonFly src repository

  Modified files:
    sys/vfs/specfs       spec_vnops.c 
  Log:
  Make sure the vnode is unlocked across a dev_dclose() call, otherwise a
  stuck tty can deadlock the filesystem (e.g. if you try to ls -la /dev).
  
  VOP_CLOSE() may or may not be called with the vnode locked, so keep track
  of it.
  
  Revision  Changes    Path
  1.27      +10 -0     src/sys/vfs/specfs/spec_vnops.c


http://www.dragonflybsd.org/cvsweb/src/sys/vfs/specfs/spec_vnops.c.diff?r1=1.26&r2=1.27&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]