Skip to content
Commit 915e2290 authored by Zhao Lei's avatar Zhao Lei Committed by Chris Mason
Browse files

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: default avatarZhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent b7178a5f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment