iomap: Switch to offset_in_page for clarity
authorAndreas Gruenbacher <agruenba@redhat.com>
Fri, 10 Aug 2018 18:46:14 +0000 (11:46 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sun, 12 Aug 2018 15:37:31 +0000 (08:37 -0700)
commit10259de1d8690a8c6dd98d564ff2690b5511c8f7
treeffe3923d4d3f2e6711feaa51a6823ed1ff5e3e67
parente25ff835af89a80aa6a4de58f413e494b2b96bd1
iomap: Switch to offset_in_page for clarity

Instead of open-coding pos & (PAGE_SIZE - 1) and pos & ~PAGE_MASK, use
the offset_in_page macro.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/iomap.c