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

Steve Lord (lord@sgi.com)
12 Jun 2003 12:24:00 -0500


On Thu, 2003-06-12 at 12:18, Christoph Hellwig wrote:
> --- 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);

Yep, I will check this in.

Thanks Christoph,

Steve

-- 

Steve Lord voice: +1-651-683-3511 Principal Engineer, Filesystem Software email: lord@sgi.com - 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/