jbd2_journal_invalidatepage —


int jbd2_journal_invalidatepage (journal_t * journal,
 struct page * page,
 unsigned int offset,
 unsigned int length);


journal_t * journal

journal to use for flush...

struct page * page

page to flush

unsigned int offset

start of the range to invalidate

unsigned int length

length of the range to invalidate


Reap page buffers containing data after in the specified range in page. Can return -EBUSY if buffers are part of the committing transaction and the page is straddling i_size. Caller then has to wait for current commit and try again.