]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit062c11504ee9b9ba4f9e0359acf56890198f22ce
treeffe3923d4d3f2e6711feaa51a6823ed1ff5e3e67
parent8f7a40a10e4b3405101b87c6600630bae317c18b
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