aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.c
diff options
context:
space:
mode:
authorZhao Lei <[email protected]>2015-03-03 12:42:48 +0000
committerChris Mason <[email protected]>2016-01-20 15:22:16 +0000
commit915e22903cb34619c1a1462ca4248add96fa41d7 (patch)
tree493ff35e90bf36d273c1eb87a3eca92ff02d3a5f /fs/btrfs/async-thread.c
parentbtrfs: Use unified stripe_page's index calculation (diff)
downloadkernel-915e22903cb34619c1a1462ca4248add96fa41d7.tar.gz
kernel-915e22903cb34619c1a1462ca4248add96fa41d7.zip
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 <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions