mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
md: raid1: move 'offset' out of loop
The 'offset' local variable can't be changed inside the loop, so move it out. Signed-off-by: Ming Lei <tom.leiming@gmail.com> Signed-off-by: Shaohua Li <shli@fb.com>
This commit is contained in:
parent
6f8802852f
commit
d8c84c4f8b
1 changed files with 3 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue