fsdax: shift partition offset handling into the file systems
Remove the last user of ->bdev in dax.c by requiring the file system to pass in an address that already includes the DAX offset. As part of the only set ->bdev or ->daxdev when actually required in the ->iomap_begin methods. Signed-off-by:Christoph Hellwig <hch@lst.de> Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com> [erofs] Reviewed-by:
Darrick J. Wong <djwong@kernel.org> Link: https://lore.kernel.org/r/20211129102203.2243509-27-hch@lst.de Signed-off-by:
Dan Williams <dan.j.williams@intel.com>
Showing
- fs/dax.c 1 addition, 5 deletionsfs/dax.c
- fs/erofs/data.c 9 additions, 2 deletionsfs/erofs/data.c
- fs/erofs/internal.h 1 addition, 0 deletionsfs/erofs/internal.h
- fs/ext2/inode.c 6 additions, 2 deletionsfs/ext2/inode.c
- fs/ext4/inode.c 11 additions, 5 deletionsfs/ext4/inode.c
- fs/xfs/xfs_iomap.c 8 additions, 2 deletionsfs/xfs/xfs_iomap.c
Please register or sign in to comment