fsck.f2fs: fix alignment on multi-partition support
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 17 Dec 2020 16:39:01 +0000 (08:39 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 23 Dec 2020 19:32:32 +0000 (11:32 -0800)
commitcc57f2c7da222fd8ddf607e82ad3c19736d71757
treeaf55bfa407f86b5008b634b0099b79d7ce5c7773
parentff7172e69f207e75b88d7f392b29385119ceb267
fsck.f2fs: fix alignment on multi-partition support

- mkfs.f2fs -s 4 -c second_dev first_dev
- fsck.f2fs first

Info: Segments per section = 1
Info: Sections per zone = 1
Info: sector size = 512
Info: total sectors = 69668488 (34017 MB)
Segment count (19128) mismatch with total segments from devices (19130) Can't find a valid F2FS superblock at 0x0
Segment count (19128) mismatch with total segments from devices (19130) Can't find a valid F2FS superblock at 0x1

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fsck/mount.c