diff options
Diffstat (limited to 'fs/ext4')
-rw-r--r-- | fs/ext4/inode.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index c6c6b7fcb455..fd369dbce6af 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) | |||
2314 | /* invalidate all the pages */ | 2314 | /* invalidate all the pages */ |
2315 | ext4_da_block_invalidatepages(mpd, next, | 2315 | ext4_da_block_invalidatepages(mpd, next, |
2316 | mpd->b_size >> mpd->inode->i_blkbits); | 2316 | mpd->b_size >> mpd->inode->i_blkbits); |
2317 | |||
2318 | /* Mark this page range as having been completed */ | ||
2319 | mpd->io_done = 1; | ||
2317 | return; | 2320 | return; |
2318 | } | 2321 | } |
2319 | BUG_ON(blks == 0); | 2322 | BUG_ON(blks == 0); |