Commit 20a8e04
cramfs: fix incorrect physical page address calculation
Commit 21aa65b ("mm: remove callers of pfn_t functionality")
incorrectly replaced the pfn with the physical address when calling
vmf_insert_mixed(). Instead the phys_to_pfn_t() call should have been
replaced with PHYS_PFN().
Found by inspection after a similar issue was noted in fuse virtio_fs.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 21aa65b ("mm: remove callers of pfn_t functionality")
Signed-off-by: Alistair Popple <[email protected]>
Reviewed-by: Dev Jain <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Cc: Haiyue Wang <[email protected]>
Cc: Nicolas Pitre <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>1 parent 634cdfd commit 20a8e04
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
415 | | - | |
| 415 | + | |
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
| |||
0 commit comments