Commit ce13ddf7 authored by Jaegeuk Kim's avatar Jaegeuk Kim Committed by Zheng Zengkai
Browse files

f2fs: handle unallocated section and zone on pinned/atgc



stable inclusion
from stable-5.10.21
commit c86df2b84bea483818d960eef58a69eafca4e588
bugzilla: 50609

--------------------------------

[ Upstream commit 632faca7 ]

If we have large section/zone, unallocated segment makes them corrupted.

E.g.,

  - Pinned file:       -1 119304647 119304647
  - ATGC   data:       -1 119304647 119304647

Reviewed-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 93fb9dd5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment