Commit b131b195 authored by Linus Torvalds's avatar Linus Torvalds Committed by Greg Kroah-Hartman

Disable ReiserFS bh usage count testing for now.

HACK ALERT! This needs to be fixed to do what reiserfs
actually thinks it _should_ do.
parent 4c61c23a
......@@ -25,6 +25,13 @@ void wait_buffer_until_released (const struct buffer_head * bh)
{
int repeat_counter = 0;
/*
* FIXME! Temporary cludge until ReiserFS people tell what they
* actually are trying to protect against!
*/
if (1)
return;
while (atomic_read (&(bh->b_count)) > 1) {
if ( !(++repeat_counter % 30000000) ) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment