diff options
| author | Hongzhen Luo <[email protected]> | 2024-08-01 11:26:22 +0000 |
|---|---|---|
| committer | Gao Xiang <[email protected]> | 2024-08-19 03:06:20 +0000 |
| commit | 5b5c96c63d5b6e91c622611e04b2b156bbae53f5 (patch) | |
| tree | 38cdd28fad8f98ad3559f5eb0ec8e9a227469f63 /drivers/fpga/fpga-mgr.c | |
| parent | Linux 6.11-rc4 (diff) | |
| download | kernel-5b5c96c63d5b6e91c622611e04b2b156bbae53f5.tar.gz kernel-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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Gao Xiang <[email protected]>
Signed-off-by: Gao Xiang <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
