diff options
author | Jingbo Xu <[email protected]> | 2023-06-13 15:41:10 +0800 |
---|---|---|
committer | Gao Xiang <[email protected]> | 2023-06-18 12:10:53 +0800 |
commit | eba67eb6de441909a22090bc77206c91134cd58c (patch) | |
tree | 81e8ddd16f8baeefa6b39abea994eedfa1d11e2e /tools/testing/selftests/bpf/prog_tests/prog_array_init.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 <[email protected]>
Reviewed-by: Gao Xiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Gao Xiang <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions