+24
−26
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
allocate_segment_by_default has just two callers, which use very different code pathes inside it based on the force paramter. Just open code the logic in the two callers using a new helper to decided if a new segment should be allocated. Signed-off-by:Christoph Hellwig <hch@lst.de> Signed-off-by:
Jaegeuk Kim <jaegeuk@kernel.org>