f2fs: remove struct segment_allocation default_salloc_ops

[ Upstream commit 1c8a8ec0a0 ]

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>
Stable-dep-of: 43563069e1 ("f2fs: check curseg->inited before write_sum_page in change_curseg")
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Christoph Hellwig 2022-11-28 10:43:44 +01:00 • committed by Greg Kroah-Hartman
commit 634ffe8661
2 changed files with 2 additions and 15 deletions