diff options
| author | Phillip Lougher <[email protected]> | 2024-08-22 23:31:06 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2024-08-23 11:11:36 +0000 |
| commit | 84e0e03b308816a48c67f6da2168fcea6d49eda8 (patch) | |
| tree | c10910f65477d1b9f9620820460310c88634f8e9 /security/selinux/hooks.c | |
| parent | Merge patch series "Squashfs: Update code to not use page->index" (diff) | |
| download | kernel-84e0e03b308816a48c67f6da2168fcea6d49eda8.tar.gz kernel-84e0e03b308816a48c67f6da2168fcea6d49eda8.zip | |
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 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
