brelse() panic

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Sun Jul 9 14:05:49 PDT 2006


Matthew Dillon wrote:
    I don't think checking 'error' here is going to matter.  In fact,
    I think the error assignment in the original code is probably wrong:
	vn_strategy(vp, &bp->b_bio1);
	error = bp->b_error;		<<<<<< HERE
    Most drivers set b_error when the I/O completes rather then from
    vn_strategy(), so error is most likely going to be 0 here.
I thought so as well, but:  otherwise sascha's panic would never have occured, so error must have been set already.

cheers
 simon
--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \
Attachment:
signature.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00008.pgp
Type: application/octet-stream
Size: 252 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20060709/08c681c9/attachment-0016.obj>


More information about the Bugs mailing list