diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-01-02 12:45:27 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-01-04 10:29:07 -0500 |
commit | 756d097b959aefe69a081496f84cfc14b1397a15 (patch) | |
tree | 891919065990fecf3561452c6bce944170278eb7 /drivers/md/dm-io.c | |
parent | 4e728cf8ffa2891913dd48e179c132fb9fa07e0e (diff) | |
download | lwn-756d097b959aefe69a081496f84cfc14b1397a15.tar.gz lwn-756d097b959aefe69a081496f84cfc14b1397a15.zip |
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>
Diffstat (limited to 'drivers/md/dm-io.c')
0 files changed, 0 insertions, 0 deletions