Re: Yet another borken page_count() check ininvalidate_inode_pages2()....

From: Trond Myklebust
Date: Wed Nov 15 2006 - 13:05:53 EST


On Wed, 2006-11-15 at 08:46 -0800, Andrew Morton wrote:

> but nobody could have started another writeback after the "..." because they
> couldn't have got the lock_page(), and lock_page() is required for
> ->writepage()?

Nothing can have called writepage(), but something may be calling
->writepages(). That may call set_page_writeback without taking the page
lock.

Cheers,
Trond
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/