diff options
| author | Hongzhen Luo <hongzhen@linux.alibaba.com> | 2024-08-01 19:26:22 +0800 |
|---|---|---|
| committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2024-08-19 11:06:20 +0800 |
| commit | 5b5c96c63d5b6e91c622611e04b2b156bbae53f5 (patch) | |
| tree | 38cdd28fad8f98ad3559f5eb0ec8e9a227469f63 /scripts/stackusage | |
| parent | Linux 6.11-rc4 (diff) | |
| download | linux-5b5c96c63d5b6e91c622611e04b2b156bbae53f5.tar.gz linux-5b5c96c63d5b6e91c622611e04b2b156bbae53f5.zip | |
erofs: simplify readdir operation
- Use i_size instead of i_size_read() due to immutable fses;
- Get rid of an unneeded goto since erofs_fill_dentries() also works;
- Remove unnecessary lines.
Signed-off-by: Hongzhen Luo <hongzhen@linux.alibaba.com>
Link: https://lore.kernel.org/r/20240801112622.2164029-1-hongzhen@linux.alibaba.com
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
