aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorJingbo Xu <[email protected]>2023-06-01 10:43:42 +0800
committerGao Xiang <[email protected]>2023-06-18 12:10:53 +0800
commit9c39ec0cff4e9373ab238120ca45a50c703dbb4e (patch)
treec1e459eefaf4c0d61b79fbc392651201568d13f0 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent43d86ec93630396b622acf3f9cb88f734d4098e8 (diff)
erofs: convert erofs_read_metabuf() to erofs_bread() for xattr
buf->inode is constant once initialized during erofs_buf's lifetime. Thus call erofs_init_metabuf() and erofs_bread() separately to avoid the repetition of assigning buf->inode when iterating xattrs. 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