f2fs: update multi-dev metadata in resize_fs
authorQiuyang Sun <sunqiuyang@huawei.com>
Mon, 23 Sep 2019 04:21:39 +0000 (12:21 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 22 Oct 2019 17:32:42 +0000 (10:32 -0700)
commit46d9ce195a2b1b8aceeafae1d8f407383a117b0e
tree7518cf2b4fb401b13051e939e6950ccc6b89894f
parented3520427f57327f581de0cc28c1c30df08f0103
f2fs: update multi-dev metadata in resize_fs

Multi-device metadata should be updated in resize_fs as well.

Also, we check that the new FS size still reaches the last device.

Signed-off-by: Qiuyang Sun <sunqiuyang@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/gc.c