diff options
author | Phillip Lougher <phillip@squashfs.org.uk> | 2024-08-19 02:58:47 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-08-19 15:08:21 +0300 |
commit | fd54fa6efe0dd3894d6fd703f8856675b4bf8315 (patch) | |
tree | 87209d163dd161e005fb7d93f4f3f3ac7ff88ffb /rust/helpers/task.c | |
parent | 7f73fcde4d93072d4003fee0949359757e8d0e41 (diff) | |
download | linux-fd54fa6efe0dd3894d6fd703f8856675b4bf8315.tar.xz |
Squashfs: Rewrite and update squashfs_readahead_fragment() to not use page->index
The previous implementation lacked error checking (e.g. the bytes
returned by squashfs_fill_page() is not checked), and the use of
page->index could not be removed without substantially rewriting
the routine to use the page actor abstraction used elsewhere.
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
Link: https://lore.kernel.org/r/20240818235847.170468-5-phillip@squashfs.org.uk
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions