]> git.hungrycats.org Git - linux/commit
Btrfs: remove unnecessary code of stripe_index assignment in __btrfs_map_block
authorZhao Lei <zhaolei@cn.fujitsu.com>
Thu, 13 Nov 2014 03:45:40 +0000 (11:45 +0800)
committerZygo Blaxell <zblaxell@serenity.furryterror.org>
Fri, 23 Jan 2015 13:18:02 +0000 (08:18 -0500)
commitce285afd52f39e75b9f735ad13aa1f536d439911
treebf47b6a5ec3808615dad7f8f50a5cce3d38de2f8
parentada2b4c9b1dc5760707b4dd45a76bc4395cc91d2
Btrfs: remove unnecessary code of stripe_index assignment in __btrfs_map_block

stripe_index's value was set again in latter line:
stripe_index = 0;

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