f2fs: fix to recover inode's i_gc_failures during POR
authorChao Yu <yuchao0@huawei.com>
Tue, 25 Sep 2018 07:36:00 +0000 (15:36 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 26 Oct 2018 18:23:27 +0000 (11:23 -0700)
commit446682469c34166fcfc90d6d730fcc7e381145aa
tree83ba3665c711567165adf3c2d13337564ba05238
parent880bb02b244e60f03edcd24c7c9ade0bcc7e6219
f2fs: fix to recover inode's i_gc_failures during POR

inode.i_gc_failures is used to indicate that skip count of migrating
on blocks of inode, we should guarantee it can be recovered in sudden
power-off case.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/recovery.c