Jan Kara 27d7c4ed1f ext4: silence warning in ext4_writepages()
The loop in mpage_map_and_submit_extent() is guaranteed to always run
at least once since the caller of mpage_map_and_submit_extent() makes
sure map->m_len > 0. So make that explicit using do-while instead of
pure while which also silences the compiler warning about
uninitialized 'err' variable.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Lukas Czerner <lczerner@redhat.com>
2013-07-05 21:57:22 -04:00
..
2011-07-25 14:30:23 -04:00
2013-06-06 11:40:37 -04:00
2013-04-09 22:48:36 -04:00
2012-12-10 16:30:43 -05:00
2013-06-17 08:56:26 -04:00
2012-12-10 16:30:43 -05:00