kernels/linux-2.4.0/mm/filemap.c
/*
 * By the time this is called, the page is locked and
 * we don't have to worry about any races any more.
 *
 * Start the IO..
 */
By the time this is called, the page is locked and
we don't have to worry about any races any more.

Start the IO
By the time this is called the page is locked and we don ' t have to worry about any races any more . Start the IO
static int writeout_one_page(struct page *page)
{
	struct buffer_head *bh, *head = page->buffers;
	bh = head;
	do {
		if (buffer_locked(bh) || !buffer_dirty(bh) || !buffer_uptodate(bh))
			continue;
		bh->b_flushtime = jiffies;
		ll_rw_block(WRITE, 1, &bh);	
	} while ((bh = bh->b_this_page) != head);
	return 0;
}
static int writeout_one_page ( struct page * page ) { struct buffer_head * bh , * head = page -> buffers ; bh = head ; do { if ( buffer_locked ( bh ) || ! buffer_dirty ( bh ) || ! buffer_uptodate ( bh ) ) continue ; bh -> b_flushtime = jiffies ; ll_rw_block ( WRITE , 1 , & bh ) ; } while ( ( bh = bh -> b_this_page ) != head ) ; return 0 ; }
By the time this is called, the page is locked and
 we don't have to worry about any races any more.
By the time this is called the page is locked and we don ' t have to worry about any races any more .