Mirror von
https://github.com/tkuschel/bees.git
synchronisiert 2026-10-11 04:51:49 +02:00
fs: always use container's actual size not requested size
The requested size may not match the final size of the container, so consistently use the container's size after prepare(), not the requested size. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
Dieser Commit ist enthalten in:
1 Ursprung
de6282c6cd
Commit
187d12fc25
1 Datei geändert
+1
-1
+1
-1
@@ -409,7 +409,7 @@ namespace crucible {
|
||||
btrfs_ioctl_ino_path_args *p = static_cast<btrfs_ioctl_ino_path_args *>(this);
|
||||
BtrfsDataContainer container(m_container_size);
|
||||
fspath = reinterpret_cast<uint64_t>(container.prepare(m_container_size));
|
||||
size = m_container_size;
|
||||
size = container.get_size();
|
||||
|
||||
m_paths.clear();
|
||||
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren