From: Joel Becker Date: Thu, 4 Jan 2007 22:54:41 +0000 (-0800) Subject: ocfs2: add some missing address space callbacks X-Git-Tag: v2.6.21-rc4~6^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03f981cf2ec95dd8bc43d2ecccaec4e83c8375e2;p=pandora-kernel.git ocfs2: add some missing address space callbacks Under load, OCFS2 would crash in invalidate_inode_pages2_range() because invalidate_complete_page2() was unable to invalidate a page. It would appear that JBD is holding on to the page. ext3 has a specific ->releasepage() handler to cover this case. Steal ext3's ->releasepage(), ->invalidatepage(), and ->migratepage(), as they appear completely appropriate for OCFS2. Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed