diff options
author | Christoph Hellwig <hch@lst.de> | 2021-11-29 11:21:50 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2021-12-04 08:58:52 -0800 |
commit | 4a2d7d5950507a27e3074e4a29dc20720235f811 (patch) | |
tree | 819e3197465e02a03317d6cb240e2ca448fcc678 /fs/fsopen.c | |
parent | f1ba5fafba9bfde4b040cd0d14256aed25a35c5e (diff) |
fsdax: simplify the offset check in dax_iomap_zero
The file relative offset must have the same alignment as the storage
offset, so use that and get rid of the call to iomap_sector.
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-17-hch@lst.de
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'fs/fsopen.c')
0 files changed, 0 insertions, 0 deletions