raid5: remove raid5_build_block
authorGuoqing Jiang <gqjiang@suse.com>
Thu, 10 Aug 2017 08:12:17 +0000 (16:12 +0800)
committerShaohua Li <shli@fb.com>
Fri, 25 Aug 2017 17:21:47 +0000 (10:21 -0700)
commit27a4ff8f49a9b912be76f36f7e198824cf0aecd9
treeac844762041938e63c5975fadc483c877a8df8f7
parenta72cbf83b0cb2368568d4e78cf1687079aad4d25
raid5: remove raid5_build_block

Now raid5_build_block is just called to set the
sector of r5dev, raid5_compute_blocknr can be
used directly for the purpose.

Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid5.c