f2fs: remove __has_curseg_space
authorChristoph Hellwig <hch@lst.de>
Thu, 19 Jan 2023 06:36:25 +0000 (07:36 +0100)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 2 Feb 2023 21:37:16 +0000 (13:37 -0800)
commit88c9edfd3c4cf129d6259085c4cc899051fa1fdc
tree45ba0fa89098158e139578ebde0f46a265a0878c
parent4a2095887340e75dfb07575950fcdb7fbcbec64b
f2fs: remove __has_curseg_space

Just open code the logic in the only caller, where it is more
obvious.

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