Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 756d097b authored by Al Viro's avatar Al Viro
Browse files

dm-bufio: virt_to_phys() doesn't change remainder modulo PAGE_SIZE



... so virt_to_phys(p) & (PAGE_SIZE - 1) is a very odd way to
spell offset_in_page(p).

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 4e728cf8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment