]> git.neil.brown.name Git - history.git/commitdiff
Disable ReiserFS bh usage count testing for now.
authorLinus Torvalds <torvalds@home.transmeta.com>
Fri, 5 Jul 2002 09:13:45 +0000 (02:13 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 5 Jul 2002 09:13:45 +0000 (02:13 -0700)
HACK ALERT! This needs to be fixed to do what reiserfs
actually thinks it _should_ do.

fs/reiserfs/buffer2.c

index a078187b1922c344011045e39173ff5c922a6800..a08c2a01d256e8a3d1be54050512c17269d6b020 100644 (file)
@@ -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) ) {