]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ocfs2: add some missing address space callbacks
authorJoel Becker <joel.becker@oracle.com>
Thu, 4 Jan 2007 22:54:41 +0000 (14:54 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 14 Mar 2007 21:37:16 +0000 (14:37 -0700)
commit03f981cf2ec95dd8bc43d2ecccaec4e83c8375e2
tree1c339ea26ceed628e33f3dc57c7936d2570d6e5c
parente6c352dbc0f4dc7e3f82feafb9e6207c5814a189
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 <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/aops.c