diff options
author | Christoph Hellwig <hch@lst.de> | 2021-11-29 13:21:48 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2021-12-04 19:58:52 +0300 |
commit | 60696eb26a37ab0199f7833ddbc1b75138c36d16 (patch) | |
tree | 61e1603ff08e1f39bf0b6baa2425790ab060aa1e /fs/zonefs | |
parent | 429f8de70d9872c5ca9b3914b3c4db5659779331 (diff) | |
download | linux-60696eb26a37ab0199f7833ddbc1b75138c36d16.tar.xz |
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 <hch@lst.de>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/20211129102203.2243509-15-hch@lst.de
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'fs/zonefs')
0 files changed, 0 insertions, 0 deletions