]> git.baikalelectronics.ru Git - kernel.git/commit
md/raid5: use bio_end_sector to calculate last_sector
authorGuoqing Jiang <jgq516@gmail.com>
Tue, 3 Sep 2019 09:41:03 +0000 (11:41 +0200)
committerSong Liu <songliubraving@fb.com>
Tue, 3 Sep 2019 21:52:38 +0000 (14:52 -0700)
commit1f644ad107a29d2fbf4c207eb2d1d3eb029cd28e
tree65b19f0c9add1c4abad4cca08e8cc26d890ec967
parent3282656033ed174cb282467f6381d6322d13a5b2
md/raid5: use bio_end_sector to calculate last_sector

Use the common way to get last_sector.

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