diff options
| author | Jingbo Xu <[email protected]> | 2023-06-01 10:43:42 +0800 |
|---|---|---|
| committer | Gao Xiang <[email protected]> | 2023-06-18 12:10:53 +0800 |
| commit | 9c39ec0cff4e9373ab238120ca45a50c703dbb4e (patch) | |
| tree | c1e459eefaf4c0d61b79fbc392651201568d13f0 /lib/crypto/mpi/mpi-internal.h | |
| parent | 43d86ec93630396b622acf3f9cb88f734d4098e8 (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 'lib/crypto/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions