]> git.karo-electronics.de Git - linux-beck.git/commit
f2fs: fix to determine start_cp_addr by sbi->cur_cp_pack
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 24 Nov 2016 20:45:15 +0000 (12:45 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 28 Nov 2016 21:39:58 +0000 (13:39 -0800)
commit8508e44ae98622f841f5ef29d0bf3d5db4e0c1cc
tree242ee7794e8d0f89c864c95224963512b190c31d
parent19c526515f6b998039d5d71fea879d255f173746
f2fs: fix to determine start_cp_addr by sbi->cur_cp_pack

We don't guarantee cp_addr is fixed by cp_version.
This is to sync with f2fs-tools.

Cc: stable@vger.kernel.org
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/f2fs.h