f2fs: allocate new section if it's not new
authorJaegeuk Kim <jaegeuk@kernel.org>
Sat, 2 Dec 2023 01:18:56 +0000 (17:18 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 5 Dec 2023 01:17:56 +0000 (17:17 -0800)
commit15a76c8014f932af7db38ae267ae0e3e4d089d9e
tree9ead8de373c911f2ae0a8baee706f7cfab3fb815
parent29215a7d43c77466f2d7e6c264942e6bc8e06cd8
f2fs: allocate new section if it's not new

If fsck can allocate a new zone, it'd be better to use that instead of
allocating a new one.

And, it modifies kernel messages.

Reviewed-by: Daeho Jeong <daehojeong@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c