|
@@ -608,8 +608,7 @@ static void ocfs2_invalidatepage(struct page *page, unsigned int offset,
|
|
|
{
|
|
|
journal_t *journal = OCFS2_SB(page->mapping->host->i_sb)->journal->j_journal;
|
|
|
|
|
|
- jbd2_journal_invalidatepage(journal, page, offset,
|
|
|
- PAGE_CACHE_SIZE - offset);
|
|
|
+ jbd2_journal_invalidatepage(journal, page, offset, length);
|
|
|
}
|
|
|
|
|
|
static int ocfs2_releasepage(struct page *page, gfp_t wait)
|