lkml.org 
[lkml]   [1999]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: andrea buffer code (2.2.9-C.gz)
On Wed, 19 May 1999, Andrea Arcangeli wrote:

>for where invalidate_buffers() got recalled). You can continue to use my
>2.2.9-C patch safely all the time (just ignore such message while
>accessing the rawblockdevice with an ext2 fs mounted at the same time).

For the record this is the fix that will apply against buffer-2.2.9-C:

Index: linux/fs/buffer.c
===================================================================
RCS file: /var/cvs/linux/fs/buffer.c,v
retrieving revision 1.1.2.114
diff -u -r1.1.2.114 buffer.c
--- linux/fs/buffer.c 1999/05/19 10:50:12 1.1.2.114
+++ linux/fs/buffer.c 1999/05/19 17:28:55
@@ -583,15 +583,8 @@
slept = 1;
__wait_on_buffer(bh);
}
- if (bh->b_dev == dev)
- {
- if (!bh->b_count)
- put_last_free(bh);
- else
- printk(KERN_ERR
- "invalidate_buffers: "
- "b_count %d!\n", bh->b_count);
- }
+ if (bh->b_dev == dev && !bh->b_count)
+ put_last_free(bh);
if (slept)
goto again;
}
Andrea Arcangeli


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.053 / U:11.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site