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>
Wed, 26 Sep 2018 19:45:33 +0000 (12:45 -0700)
commit7de36cf3e4087207f42a88992f8cb615a1bd902e
tree3054ef26753b8d1637859781b1ab6c9158ef2b9c
parent19c73a691ccf6fb2f12d4e9cf9830023966cec88
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