* block_invalidatepage - invalidate part or all of a buffer-backed page
*
* @page: the page which is affected
* block_invalidatepage - invalidate part or all of a buffer-backed page
*
* @page: the page which is affected
*
* block_invalidatepage() is called when all or part of the page has become
* invalidated by a truncate operation.
*
* block_invalidatepage() is called when all or part of the page has become
* invalidated by a truncate operation.
{
struct buffer_head *head, *bh, *next;
unsigned int curr_off = 0;
{
struct buffer_head *head, *bh, *next;
unsigned int curr_off = 0;
/*
* We attach and possibly dirty the buffers atomically wrt
* __set_page_dirty_buffers() via private_lock. try_to_free_buffers
/*
* We attach and possibly dirty the buffers atomically wrt
* __set_page_dirty_buffers() via private_lock. try_to_free_buffers
* they may have been added in ext3_writepage(). Make them
* freeable here, so the page does not leak.
*/
* they may have been added in ext3_writepage(). Make them
* freeable here, so the page does not leak.
*/