Commit 354b1b71 authored by Jaegeuk Kim's avatar Jaegeuk Kim Committed by Daeho Jeong
Browse files

FROMGIT: f2fs: skip adding a discard command if exists



When recovering zoned UFS, sometimes we add the same zone to discard multiple
times. Simple workaround is to bypass adding it.

Reviewed-by: default avatarChao Yu <chao@kernel.org>
Change-Id: Ic1501caa02aea8bdc9d7f00a8bd0d35be2ef4ba1
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit bbd3efed
 https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev)
parent ccbea4f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment