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

From: Christoph Hellwig (hch@infradead.org)
Date: Thu Jun 12 2003 - 12:18:37 EST


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



This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:33 EST