BIO - Do not try to redirty a bp on error unless it has a vnode association.
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 15 Aug 2009 20:06:39 +0000 (13:06 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 15 Aug 2009 20:06:39 +0000 (13:06 -0700)
commit921e49569fe92bf1a1f8e259bc9b2670d257f33b
tree77d454db83468ad7cae6d9091d7bdc7978b91e97
parentc2fcd54e34c1ba21ce20f1daee214fa52a8c68fe
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.
sys/kern/vfs_bio.c