[PATCH] f2fs: fix to report error in f2fs_readdir

2015-11-19 Thread Chao Yu
get_lock_data_page in f2fs_readdir can fail due to a lot of reasons (i.e. no memory or IO error...), it's better to report this kind of error to user rather than ignoring it. Signed-off-by: Chao Yu --- fs/f2fs/dir.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git

[PATCH] f2fs: fix to report error in f2fs_readdir

2015-11-19 Thread Chao Yu
get_lock_data_page in f2fs_readdir can fail due to a lot of reasons (i.e. no memory or IO error...), it's better to report this kind of error to user rather than ignoring it. Signed-off-by: Chao Yu --- fs/f2fs/dir.c | 9 +++-- 1 file changed, 7 insertions(+), 2