Improve readability of the code by making it explicit where the 'c' variable

starts. It is also more consistent with similar code in this file.
This commit is contained in:
Pawel Jakub Dawidek 2019-03-01 05:54:13 +00:00
parent 6775dfdf54
commit b8da50d526
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=344690

View File

@ -568,7 +568,7 @@ vdev_raidz_map_alloc(abd_t *abd, uint64_t size, uint64_t offset, boolean_t dofre
abd_alloc_linear(rm->rm_col[c].rc_size, B_TRUE);
}
for (off = 0; c < acols; c++) {
for (off = 0, c = rm->rm_firstdatacol; c < acols; c++) {
rm->rm_col[c].rc_abd = abd_get_offset(abd, off);
off += rm->rm_col[c].rc_size;
}