defrag.f2fs: fix missing SSA updates
authorJaegeuk Kim <jaegeuk@kernel.org>
Sat, 19 Dec 2015 01:49:29 +0000 (17:49 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 19 Dec 2015 11:27:12 +0000 (03:27 -0800)
commit767a93ea8bf1f66cf119830d2a42775395675cd6
tree30be0081a9b8c7d6601eac06afd1825f7a63fe8c
parentf66104cf3a29b9e5645ba77090fac0521cf73318
defrag.f2fs: fix missing SSA updates

Previously SSA is updated if it is not included in current segment info.
But, defrag.f2fs doesn't handle current segment info during the process, and
instead lastly update the whole current segment info at a time.
So, we need to update summary entries all the time.
Otherwise, we can lose the SSA entry.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fsck/mount.c