git: BIO - Do not try to redirty a bp on error unless it has a vnode association.

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Aug 15 13:08:41 PDT 2009


commit 921e49569fe92bf1a1f8e259bc9b2670d257f33b
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Aug 15 13:06:39 2009 -0700

    BIO - Do not try to redirty a bp on error unless it has a vnode association.
    
    * vinum buffers may not have a b_vp association.  bdirty() and friends
      requires b_vp to be present.  Simply do not try to re-dirty buffers
      after a failed write unless they have a b_vp association.
    
      Note that only vinum constructs these manually-kmalloc()'d buffers
      and has this behavior.

Summary of changes:
 sys/kern/vfs_bio.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/921e49569fe92bf1a1f8e259bc9b2670d257f33b


-- 
DragonFly BSD source repository





More information about the Commits mailing list