Re: [2.5.70][XFS] Sleeping function called from illegal context

Christoph Hellwig (hch@infradead.org)
Thu, 12 Jun 2003 18:18:37 +0100


--- 1.53/fs/xfs/pagebuf/page_buf.c Mon May 19 21:00:43 2003
+++ edited/fs/xfs/pagebuf/page_buf.c Wed Jun 11 21:30:21 2003
@@ -1689,10 +1689,10 @@
int pincount = 0;
int flush_cnt = 0;

+ pagebuf_runall_queues(pagebuf_dataio_workqueue);
+
spin_lock(&pbd_delwrite_lock);
INIT_LIST_HEAD(&tmp);
-
- pagebuf_runall_queues(pagebuf_dataio_workqueue);

list_for_each_safe(curr, next, &pbd_delwrite_queue) {
pb = list_entry(curr, page_buf_t, pb_list);
-
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/