Messages in this thread | | | Date | Wed, 21 Jul 2004 11:36:40 -0700 | From | Tom Dickson <> | Subject | What is the BUG() call in ll_rw_blk.c (2.4.26) for? |
| |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
void submit_bh(int rw, struct buffer_head * bh) { ~ int count = bh->b_size >> 9;
~ if (!test_bit(BH_Lock, &bh->b_state)) ~ BUG();
Does anyone know what that BUG(); is testing? We're seeing it and want to track down what we're doing that is causing it.
It's at line 1289 of drivers/block/ll_rw_blk.c
Thanks!
- -Tom
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFA/re42dxAfYNwANIRAsM2AKCZK64SB8H3ypeOp6r9srECt8lSEgCfeyya amEarqisYBF6MocYu6m/Nbo= =HZZk -----END PGP SIGNATURE----- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |