summaryrefslogtreecommitdiff
path: root/fs/fs_struct.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2019-02-19 16:23:53 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2019-03-12 18:59:17 -0700
commitaa2c8c43e4a5c242f5b0331c8b7a941b85f9435a (patch)
tree770a3dd298dc739d2b3b1aecdfd21316d54d8993 /fs/fs_struct.c
parentbc73a4b2414f2914fa895747166312b1527a97bb (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>
Diffstat (limited to 'fs/fs_struct.c')
0 files changed, 0 insertions, 0 deletions