tux3: Support mmap write: Fix outside of i_size handling

If there are pages outside i_size, we have to clear dirty and remove
those from I/O candidate.

Now, tux3_clear_page_dirty_for_io() possibly dirty page again by
current frontend delta. But, we should not dirty pages in backend, and
we should simply discard pages outside i_size.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
2 files changed