raid5-cache: restrict the use area of the log_offset variable

We can calculate this offset by using ctx->meta_total_blocks,
without passing in from the function

Signed-off-by: JackieLiu <liuyun01@kylinos.cn>
Signed-off-by: Shaohua Li <shli@fb.com>
This commit is contained in:
JackieLiu 2016-11-02 17:02:39 +08:00 • committed by Shaohua Li
commit 3fd880af41