[PATCH] 8pre5 sync_old_buffers oops

From: Hugh Dickins (hugh@veritas.com)
Date: Tue Aug 07 2001 - 10:15:08 EST


--- linux-2.4.8-pre5/fs/buffer.c Tue Aug 7 12:52:59 2001
+++ linux/fs/buffer.c Tue Aug 7 16:01:49 2001
@@ -2581,7 +2581,7 @@
 
                         spin_lock(&lru_list_lock);
                         bh = lru_list[BUF_DIRTY];
- if (!time_before(jiffies, bh->b_flushtime))
+ if (bh && !time_before(jiffies, bh->b_flushtime))
                                 continue;
                         spin_unlock(&lru_list_lock);
                 }

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



This archive was generated by hypermail 2b29 : Tue Aug 07 2001 - 21:00:45 EST