diff options
author | Jingbo Xu <jefflexu@linux.alibaba.com> | 2023-06-13 15:41:10 +0800 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2023-06-18 12:10:53 +0800 |
commit | eba67eb6de441909a22090bc77206c91134cd58c (patch) | |
tree | 81e8ddd16f8baeefa6b39abea994eedfa1d11e2e /drivers/usb/cdns3/cdns3-pci-wrap.c | |
parent | 001b8ccd0650727e54ec16ef72bf1b8eeab7168e (diff) |
erofs: use absolute position in xattr iterator
Replace blkaddr/ofs with pos in 'struct erofs_xattr_iter'.
After erofs_bread() is introduced to replace raw page cache APIs for
metadata I/Os handling, xattr_iter_fixup() is no longer needed anymore.
In addition, it is also unnecessary to check if the iterated position is
span over the block boundary as absolute offset is used instead of
blkaddr + offset pairs.
Signed-off-by: Jingbo Xu <jefflexu@linux.alibaba.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20230613074114.120115-2-jefflexu@linux.alibaba.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions