aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorPhillip Lougher <[email protected]>2024-08-23 00:31:06 +0100
committerChristian Brauner <[email protected]>2024-08-23 13:11:36 +0200
commit84e0e03b308816a48c67f6da2168fcea6d49eda8 (patch)
treec10910f65477d1b9f9620820460310c88634f8e9 /lib/crypto/mpi/mpi-sub-ui.c
parentd937c813f88d727ea9d34a7768264a64c8b93025 (diff)
Squashfs: Ensure all readahead pages have been used
In the recent work to remove page->index, a sanity check that ensured all the readhead pages were covered by the Squashfs data block was removed [1]. To avoid any regression, this commit adds the sanity check back in an equivalent way. Namely the page actor will now return error if any pages are unused after completion. [1] https://lore.kernel.org/all/[email protected]/ -- Signed-off-by: Phillip Lougher <[email protected]> Link: https://lore.kernel.org/r/[email protected] V3: last_page should be actor->last_page Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions