diff options
author | 2025-03-10 17:54:52 +0800 | |
---|---|---|
committer | 2025-03-17 01:23:25 +0800 | |
commit | 3422dfa9030294c3ded4445e105cd71d8d220993 (patch) | |
tree | 135507cb246a5aaa72fd496af89d1af527a865b3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | erofs: get rid of erofs_map_blocks_flatmode() (diff) | |
download | wireguard-linux-3422dfa9030294c3ded4445e105cd71d8d220993.tar.xz wireguard-linux-3422dfa9030294c3ded4445e105cd71d8d220993.zip |
erofs: simplify erofs_{read,fill}_inode()
- Switch to on-stack `copied` since it's just 64 bytes;
- Get rid of `nblks` and derive `i_blocks` directly;
- Use `inode_set_mtime()` instead of `inode_set_ctime()`
to follow the ondisk naming;
- Rearrange the code.
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Acked-by: Chao Yu <chao@kernel.org>
Link: https://lore.kernel.org/r/20250310095459.2620647-3-hsiangkao@linux.alibaba.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions