Commit 0733186c authored by Wu Bo's avatar Wu Bo Committed by Jaegeuk Kim
Browse files

UPSTREAM: f2fs: fix block migration when section is not aligned to pow2



As for zoned-UFS, f2fs section size is forced to zone size. And zone
size may not aligned to pow2.

Fixes: 859fca6b ("f2fs: swap: support migrating swapfile in aligned write mode")
Change-Id: Ic18f48af0df5a992fda804f195da232df6cbcf22
Signed-off-by: default avatarLiao Yuanhong <liaoyuanhong@vivo.com>
Signed-off-by: default avatarWu Bo <bo.wu@vivo.com>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit aa4074e8)
parent 7989ac42
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment