]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/partition/repart.c
repart: reset assignments by previous context_allocate_partitions()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 5 Sep 2022 16:23:19 +0000 (01:23 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 8 Sep 2022 20:48:56 +0000 (05:48 +0900)
commitf39cf264a68837c5347d8ead6e9a6b4e62d24ca8
tree28c518247230d0b80af125680f2f00b42265dc4c
parentd7c46b5e1e6c606f765198cf6a21f6dd997c6f2a
repart: reset assignments by previous context_allocate_partitions()

The function context_allocate_partitions() may be called multiple times.
If this is called multiple times, then dropped partitions may still
assigned to free area.
src/partition/repart.c