mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +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>
This commit is contained in:
parent
de6282c6cd
commit
187d12fc25
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user