commit | c168435ee3f16094d86656fc13756f2155a690fd | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Tue Feb 19 16:23:53 2019 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Thu Mar 14 13:56:01 2019 -0700 |
tree | f653b8a732a23435ff8919e034012f06ead22d2b | |
parent | 07894d20e6448020cc5a86c2299f57a102ce802b [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>