On Mon, Jul 18, 2011 at 11:59:32AM -0400, Josef Bacik wrote: > Pages can be evicted from cache outside of truncate, for example when > invalidating pages after writing with O_DIRECT. The only proper way to check > page->mapping is under the page lock, so fix ext4_page_mkwrite to do this. > Thanks, Josef, please check the ext4_page_mkwrite implementation in the vfs tree, which is just a wrapper around the generic code and thus shouldn't have this problem any more. -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html