f2fs: remove struct segment_allocation default_salloc_ops
authorChristoph Hellwig <hch@lst.de>
Mon, 28 Nov 2022 09:43:44 +0000 (10:43 +0100)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 8 Dec 2022 17:32:10 +0000 (09:32 -0800)
commit1c8a8ec0a0e9a1176022a35c4daf04fe1594d270
tree85e502a77361edbc89cc62c2df4b30856eadbff8
parent8a47d228de6a4fd4c751142fb27d56f385b3fe41
f2fs: remove struct segment_allocation default_salloc_ops

There is only  single instance of these ops, so remove the indirection
and call allocate_segment_by_default directly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c
fs/f2fs/segment.h