mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tom Dickson <tdickson@inostor.com>
To: linux-kernel@vger.kernel.org
Subject: What is the BUG() call in ll_rw_blk.c (2.4.26) for?
Date: Wed, 21 Jul 2004 11:36:40 -0700	[thread overview]
Message-ID: <40FEB7B8.2050501@inostor.com> (raw)

-----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-----

             reply	other threads:[~2004-07-21 18:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-21 18:36 Tom Dickson [this message]
2004-07-21 20:27 ` Dave Kleikamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40FEB7B8.2050501@inostor.com \
    --to=tdickson@inostor.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®