Commit 634ffe86 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Greg Kroah-Hartman
Browse files

f2fs: remove struct segment_allocation default_salloc_ops



[ Upstream commit 1c8a8ec0 ]

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

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
Stable-dep-of: 43563069 ("f2fs: check curseg->inited before write_sum_page in change_curseg")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 3fd2fc92
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment