]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
f2fs: check all the data segments against all node ones
authorSurbhi Palande <f2fsnewbie@gmail.com>
Fri, 23 Aug 2019 22:40:45 +0000 (15:40 -0700)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 16 Oct 2019 09:55:15 +0000 (11:55 +0200)
commit4ae11e774a998f1d12f80c09f5320f341ead07e4
treef115a7fbdd2a23ba494efd0d747c1776e6b871c6
parent0902554a09c96ed40a3e90b0cb34c73d2ae8eac9
f2fs: check all the data segments against all node ones

BugLink: https://bugs.launchpad.net/bugs/1847155
[ Upstream commit 1166c1f2f69117ad254189ca781287afa6e550b6 ]

As a part of the sanity checking while mounting, distinct segment number
assignment to data and node segments is verified. Fixing a small bug in
this verification between node and data segments. We need to check all
the data segments with all the node segments.

Fixes: 042be0f849e5f ("f2fs: fix to do sanity check with current segment number")
Signed-off-by: Surbhi Palande <csurbhi@gmail.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
fs/f2fs/super.c