aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ext4/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 0188e65e1f58..19a1643cbdfa 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -2163,7 +2163,7 @@ static int mpage_map_and_submit_extent(handle_t *handle,
2163 2163
2164 mpd->io_submit.io_end->offset = 2164 mpd->io_submit.io_end->offset =
2165 ((loff_t)map->m_lblk) << inode->i_blkbits; 2165 ((loff_t)map->m_lblk) << inode->i_blkbits;
2166 while (map->m_len) { 2166 do {
2167 err = mpage_map_one_extent(handle, mpd); 2167 err = mpage_map_one_extent(handle, mpd);
2168 if (err < 0) { 2168 if (err < 0) {
2169 struct super_block *sb = inode->i_sb; 2169 struct super_block *sb = inode->i_sb;
@@ -2201,7 +2201,7 @@ static int mpage_map_and_submit_extent(handle_t *handle,
2201 err = mpage_map_and_submit_buffers(mpd); 2201 err = mpage_map_and_submit_buffers(mpd);
2202 if (err < 0) 2202 if (err < 0)
2203 return err; 2203 return err;
2204 } 2204 } while (map->m_len);
2205 2205
2206 /* Update on-disk size after IO is submitted */ 2206 /* Update on-disk size after IO is submitted */
2207 disksize = ((loff_t)mpd->first_page) << PAGE_CACHE_SHIFT; 2207 disksize = ((loff_t)mpd->first_page) << PAGE_CACHE_SHIFT;