diff options
author | Christoph Hellwig <[email protected]> | 2023-06-15 08:48:38 +0200 |
---|---|---|
committer | Song Liu <[email protected]> | 2023-07-27 00:13:29 -0700 |
commit | d7038f951828da19fa9aafddfa087b69032c9687 (patch) | |
tree | 850da5dbedbe91c2a283561ad7738c6383bd1a00 /net/lapb/lapb_subr.c | |
parent | f5f2d5ac9f6e807e080311ec36bdf3d6c45b40d4 (diff) |
md-bitmap: don't use ->index for pages backing the bitmap file
The md driver allocates pages for storing the bitmap file data, which
are not page cache pages, and then stores the page granularity file
offset in page->index, which is a field that isn't really valid except
for page cache pages.
Use a separate index for the superblock, and use the scheme used at
read size to recalculate the index for the bitmap pages instead.
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions