mkfs.f2fs: Fix zoned alignment check for multi-device setups

Commit 84447ee7212e correctly relocated the zone alignment check to its
proper location. However, this revealed that the original check's
condition was incorrect for multi-device setups.

This patch corrects the logic to check the alignment relative to the start
of the segment0 and improves the error messages.

Signed-off-by: Daniel Lee <chullee@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
[Jaegeuk Kim: fix build error]
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
1 file changed