diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2018-08-10 20:46:14 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-08-12 17:37:31 +0200 |
commit | 10259de1d8690a8c6dd98d564ff2690b5511c8f7 (patch) | |
tree | ffe3923d4d3f2e6711feaa51a6823ed1ff5e3e67 /fs/xfs/xfs_buf.h | |
parent | xfs: Close race between direct IO and xfs_break_layouts() (diff) | |
download | linux-10259de1d8690a8c6dd98d564ff2690b5511c8f7.tar.xz linux-10259de1d8690a8c6dd98d564ff2690b5511c8f7.zip |
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>
Diffstat (limited to 'fs/xfs/xfs_buf.h')
0 files changed, 0 insertions, 0 deletions