On 20/12/2024 18:24, Matthew Wilcox wrote:
On Fri, Dec 20, 2024 at 06:19:35PM +0000, Phillip Lougher wrote:
@@ -398,6 +400,7 @@ void squashfs_copy_cache(struct folio *folio,
bytes -= PAGE_SIZE, offset += PAGE_SIZE) {
struct folio *push_folio;
size_t avail = buffer ? min(bytes, PAGE_SIZE) : 0;
+ bool filled = false;
ahh, this should have been filled = true (if the folio is already
uptodate, then it has been filled). Or maybe it'd be less confusing if
we named the bool 'uptodate'.
Would you like me to submit a fresh set of patches, or will you fix
these two bugs up?
Thanks for testing!
Np.
Andrew Morton is kindly handling Squashfs patch submission to Linus for me,
and so I can't easily fix them up.
Andrew what you like done here please?
Thanks
Phillip