diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index c6c6b7fcb455a121bc98bdce58f84a29c6078f52..fd369dbce6af211c0884fcab3f14be189f67888a 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -2314,6 +2314,9 @@ static void mpage_da_map_and_submit(struct mpage_da_data *mpd) /* invalidate all the pages */ ext4_da_block_invalidatepages(mpd, next, mpd->b_size >> mpd->inode->i_blkbits); + + /* Mark this page range as having been completed */ + mpd->io_done = 1; return; } BUG_ON(blks == 0);