mirror of
https://github.com/deepseek-ai/3FS
synced 2025-06-26 18:16:45 +00:00
change indent
This commit is contained in:
parent
c712ce1480
commit
d689e1009d
@ -32,11 +32,11 @@ struct AvailSlots {
|
|||||||
|
|
||||||
std::lock_guard lock(mutex);
|
std::lock_guard lock(mutex);
|
||||||
if (idx == nextAvail - 1) {
|
if (idx == nextAvail - 1) {
|
||||||
nextAvail--;
|
nextAvail--;
|
||||||
while (free.find(nextAvail - 1) != free.end()) {
|
while (free.find(nextAvail - 1) != free.end()) {
|
||||||
// move back next avail as much as possible
|
// move back next avail as much as possible
|
||||||
free.erase(--nextAvail);
|
free.erase(--nextAvail);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
free.insert(idx);
|
free.insert(idx);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user