]> git.hungrycats.org Git - linux/commit
btrfs: cleanup: use for() loop in btrfs_map_bio()
authorZhao Lei <zhaolei@cn.fujitsu.com>
Thu, 12 Feb 2015 07:42:16 +0000 (15:42 +0800)
committerZygo Blaxell <zblaxell@serenity.furryterror.org>
Wed, 22 Apr 2015 16:23:50 +0000 (12:23 -0400)
commit8dea68d61d8f1a4bb70ce99e58c2170c3dd05773
tree4ae8b9f52a78fbcef7737a35705fbda58127009e
parent6a5007a60705d311a076f283db6d507807b4ab9d
btrfs: cleanup: use for() loop in btrfs_map_bio()

for() is obviously better in these code block, and remove noused
init-value to reduce about 6 bytes binary size.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: David Sterba <dsterba@suse.cz>
(cherry picked from commit 08da757d3f29e9d33480ae1c44b557a2514d70c5)
fs/btrfs/volumes.c