Commit aa4074e
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: 859fca6 ("f2fs: swap: support migrating swapfile in aligned write mode")
Signed-off-by: Liao Yuanhong <[email protected]>
Signed-off-by: Wu Bo <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>1 parent 48d180e commit aa4074e
1 file changed
+8
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3917 | 3917 | | |
3918 | 3918 | | |
3919 | 3919 | | |
3920 | | - | |
3921 | | - | |
3922 | | - | |
3923 | | - | |
3924 | | - | |
| 3920 | + | |
| 3921 | + | |
| 3922 | + | |
| 3923 | + | |
| 3924 | + | |
3925 | 3925 | | |
3926 | | - | |
| 3926 | + | |
3927 | 3927 | | |
3928 | | - | |
3929 | 3928 | | |
3930 | 3929 | | |
3931 | 3930 | | |
| |||
3963 | 3962 | | |
3964 | 3963 | | |
3965 | 3964 | | |
3966 | | - | |
3967 | | - | |
| 3965 | + | |
| 3966 | + | |
3968 | 3967 | | |
3969 | 3968 | | |
3970 | 3969 | | |
| |||
0 commit comments