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

cvs commit: src/sys/kern vfs_cluster.c


From: Simon Schubert <corecode@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 Jul 2006 12:23:39 -0700 (PDT)

corecode    2006/07/14 12:23:39 PDT

DragonFly src repository

  Modified files:
    sys/kern             vfs_cluster.c 
  Log:
  Fix two bugs in cluster_read:
  - brelse rbp with B_INVAL set in case of a VOP_BMAP() error
  
  - move the read-ahead after starting the real read for bp, so that it
    can be skipped if an error occured in the reading of bp.
  
    Before this commit rbp might have been a CLUSTER and didn't get special
    treatment for freeing, which resulted in a panic.
  
  Reported-by: swildner
  
  Revision  Changes    Path
  1.26      +60 -67    src/sys/kern/vfs_cluster.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_cluster.c.diff?r1=1.25&r2=1.26&f=u



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