btrfs: use rbio->nr_pages to reduce calculation
authorZhao Lei <zhaolei@cn.fujitsu.com>
Tue, 3 Mar 2015 12:42:48 +0000 (20:42 +0800)
committerChris Mason <clm@fb.com>
Wed, 20 Jan 2016 15:22:16 +0000 (07:22 -0800)
commit915e22903cb34619c1a1462ca4248add96fa41d7
tree493ff35e90bf36d273c1eb87a3eca92ff02d3a5f
parentb7178a5f0372a51260cf6e74d828e315e43dfc86
btrfs: use rbio->nr_pages to reduce calculation

We can use rbio->stripe_npages to reduce unnecessary calculation in
many code place.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/raid56.c