btrfs: use need_full_stripe() in __btrfs_map_block()
authorAnand Jain <anand.jain@oracle.com>
Thu, 12 Oct 2017 08:43:00 +0000 (16:43 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 30 Oct 2017 11:28:01 +0000 (12:28 +0100)
commitde48373454aceaf65877f9953eaf942505e83cc5
tree4abd47b0d57113914b06df6ff173132725818121
parent79f015f216539dfdf0d3ef0b3bbb9dc7754364cd
btrfs: use need_full_stripe() in __btrfs_map_block()

A cleanup patch, use need_full_stripe() to replace the open code.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Qu Wenruo <quwenruo.btrfs@gmx.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c