f2fs: refactor __allocate_new_segment
Simplify the check whether to allocate a new segment or reuse an open one. Signed-off-by:Christoph Hellwig <hch@lst.de> Reviewed-by:
Chao Yu <chao@kernel.org> Signed-off-by:
Jaegeuk Kim <jaegeuk@kernel.org>
Showing
Please register or sign in to comment