raid5: use bio_end_sector in r5_next_bio
authorGuoqing Jiang <guoqing.jiang@cloud.ionos.com>
Thu, 12 Sep 2019 10:10:16 +0000 (12:10 +0200)
committerSong Liu <songliubraving@fb.com>
Fri, 13 Sep 2019 20:14:43 +0000 (13:14 -0700)
commit067df25c83902e2950ef24fed713f0fa38282f34
treeef55a627de233ea52d6deac581d9c32220936c1d
parentfeb9bf9849e2aa0dd2833285af7c25aee07df7bb
raid5: use bio_end_sector in r5_next_bio

Actually, we calculate bio's end sector here, so use the common
way for the purpose.

Signed-off-by: Guoqing Jiang <guoqing.jiang@cloud.ionos.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
drivers/md/raid5.h