commit | aa2c8c43e4a5c242f5b0331c8b7a941b85f9435a | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Tue Feb 19 16:23:53 2019 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Tue Mar 12 18:59:17 2019 -0700 |
tree | 770a3dd298dc739d2b3b1aecdfd21316d54d8993 | |
parent | bc73a4b2414f2914fa895747166312b1527a97bb [diff] |
f2fs: fix to retry fill_super only if recovery failed With current retry mechanism in f2fs_fill_super, first fill_super fails due to no memory, then second fill_super runs w/o recovery, if we succeed, we may lose fsynced data, it doesn't make sense. Let's retry fill_super only if it occurs non-ENOMEM error during recovery. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>