diff options
author | Phillip Lougher <phillip@squashfs.org.uk> | 2024-08-19 00:58:45 +0100 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-08-19 14:08:20 +0200 |
commit | 6f09ffb1f4fadf156d5d1032217b9d1fa4e07dbe (patch) | |
tree | 772661ea9caa8063ce7a178ff63fc2af5a8de401 /crypto/crypto_engine.c | |
parent | 2258e22f05aff5865c93cbd4e9acba55b295d832 (diff) | |
download | linux-6f09ffb1f4fadf156d5d1032217b9d1fa4e07dbe.tar.gz linux-6f09ffb1f4fadf156d5d1032217b9d1fa4e07dbe.tar.bz2 linux-6f09ffb1f4fadf156d5d1032217b9d1fa4e07dbe.zip |
Squashfs: Update squashfs_readahead() to not use page->index
This commit removes references to page->index in the pages returned
from __readahead_batch(), and instead uses the 'start' variable.
This does reveal a bug in the previous code in that 'start' was
not updated every time around the loop. This is fixed in this
commit.
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
Link: https://lore.kernel.org/r/20240818235847.170468-3-phillip@squashfs.org.uk
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'crypto/crypto_engine.c')
0 files changed, 0 insertions, 0 deletions