mm/iob: reserved bytes should be updated after each iteration
Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
parent
756e2419c1
commit
e2b00a9fcc
@ -78,5 +78,6 @@ void iob_reserve(FAR struct iob_s *iob, unsigned int reserved)
|
||||
|
||||
iob->io_offset = offset;
|
||||
iob = iob->io_flink;
|
||||
reserved -= offset;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user