diff options
| author | Christoph Hellwig <hch@lst.de> | 2022-11-28 10:15:23 +0100 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2023-01-06 15:13:38 -0800 |
| commit | fdbf69a7f5be2896af3a9a6213fb0ab8e194b190 (patch) | |
| tree | 0d3815557ba79444f0be4cc3c12f18e929d30d63 /net/lapb/lapb_timer.c | |
| parent | 817c968b79d02588370e3d1dc5e5961cfd57d2b1 (diff) | |
f2fs: refactor the hole reporting and allocation logic in f2fs_map_blocks
Add a is_hole local variable to figure out if the block number might need
allocation, and untangle to logic to report the hole or fill it with a
block allocation.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
