summaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2013-07-06 03:57:22 +0200
committerTheodore Ts'o <tytso@mit.edu>2013-07-06 03:57:22 +0200
commit27d7c4ed1f7dfa3fc462e870dc60a4c9c2253f3e (patch)
tree3fee0d413a5bbf4adcd3bdccac40ba4b4ba3b2a3 /arch/sparc
parentext4: optimize starting extent in ext4_ext_rm_leaf() (diff)
downloadlinux-27d7c4ed1f7dfa3fc462e870dc60a4c9c2253f3e.tar.xz
linux-27d7c4ed1f7dfa3fc462e870dc60a4c9c2253f3e.zip
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>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions