f2fs: free meta pages if sanity check for ckpt is failed
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 6 Dec 2016 01:25:32 +0000 (17:25 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 7 Dec 2016 22:38:16 +0000 (14:38 -0800)
commita2125ff7dd1ed3a2a53cdc1f8f9c9cec9cfaa7ab
tree1c10f76afb80d448c0829e6172a789fff06feeec
parent2040fce83fe17763b07c97c1f691da2bb85e4135
f2fs: free meta pages if sanity check for ckpt is failed

This fixes missing freeing meta pages in the error case.

Tested-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c