Loading fs_mgr/fs_mgr_overlayfs.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -1083,7 +1083,7 @@ static inline uint64_t GetIdealDataScratchSize() { return 0; } auto ideal_size = std::min(super_info.size, uint64_t(s.f_frsize * s.f_bfree * 0.85)); auto ideal_size = std::min(super_info.size, uint64_t(uint64_t(s.f_frsize) * s.f_bfree * 0.85)); // Align up to the filesystem block size. if (auto remainder = ideal_size % s.f_bsize; remainder > 0) { Loading Loading
fs_mgr/fs_mgr_overlayfs.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -1083,7 +1083,7 @@ static inline uint64_t GetIdealDataScratchSize() { return 0; } auto ideal_size = std::min(super_info.size, uint64_t(s.f_frsize * s.f_bfree * 0.85)); auto ideal_size = std::min(super_info.size, uint64_t(uint64_t(s.f_frsize) * s.f_bfree * 0.85)); // Align up to the filesystem block size. if (auto remainder = ideal_size % s.f_bsize; remainder > 0) { Loading