f2fs-tools: sanity check segment count

make sure segment count in super block doesn't exceed F2FS_MAX_SEGMENT.

Bug: 36392513
Bug: 36815012

Change-Id: I0f699f58fb6bab27008a7ab956a87fe241bb0169
Signed-off-by: Jin Qian <jinqian@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
1 file changed