Re: [PATCH] reiserfs b_count usage
Andrea Arcangeli (andrea@suse.de)
Wed, 18 Jul 2001 17:53:42 +0200
On Wed, Jul 18, 2001 at 10:25:20AM -0400, Chris Mason wrote:
> @@ -2597,7 +2599,7 @@
>
> if (bh) {
> reiserfs_clean_and_file_buffer(bh) ;
> - atomic_dec(&(bh->b_count)) ; /* get_hash incs this */
> + put_bh(bh) ; /* get_hash grabs the buffer */
> if (atomic_read(&(bh->b_count)) < 0) {
> printk("journal-2165: bh->b_count < 0\n") ;
> }
in mainline you aren't calling reiserfs_clean_and_file_buffer above, so
it rejects.
Andrea
-
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/