[PATCH] 8pre5 sync_old_buffers oops

Hugh Dickins (hugh@veritas.com)
Tue, 7 Aug 2001 16:15:08 +0100 (BST)


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