summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-11-28 12:15:23 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2023-01-07 02:13:38 +0300
commitfdbf69a7f5be2896af3a9a6213fb0ab8e194b190 (patch)
tree0d3815557ba79444f0be4cc3c12f18e929d30d63 /scripts/const_structs.checkpatch
parent817c968b79d02588370e3d1dc5e5961cfd57d2b1 (diff)
downloadlinux-fdbf69a7f5be2896af3a9a6213fb0ab8e194b190.tar.xz
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 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions