]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
dm-bufio: virt_to_phys() doesn't change remainder modulo PAGE_SIZE
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 2 Jan 2016 17:45:27 +0000 (12:45 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 4 Jan 2016 15:29:07 +0000 (10:29 -0500)
commit756d097b959aefe69a081496f84cfc14b1397a15
tree891919065990fecf3561452c6bce944170278eb7
parent4e728cf8ffa2891913dd48e179c132fb9fa07e0e
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: Al Viro <viro@zeniv.linux.org.uk>
drivers/md/dm-bufio.c