diff options
author | Christoph Hellwig <[email protected]> | 2021-11-29 11:21:48 +0100 |
---|---|---|
committer | Dan Williams <[email protected]> | 2021-12-04 08:58:52 -0800 |
commit | 60696eb26a37ab0199f7833ddbc1b75138c36d16 (patch) | |
tree | 61e1603ff08e1f39bf0b6baa2425790ab060aa1e /include/linux/overflow.h | |
parent | 429f8de70d9872c5ca9b3914b3c4db5659779331 (diff) |
fsdax: simplify the pgoff calculation
Replace the two steps of dax_iomap_sector and bdev_dax_pgoff with a
single dax_iomap_pgoff helper that avoids lots of cumbersome sector
conversions.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Dan Williams <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions