f2fs: fix to report error in f2fs_readdir
authorChao Yu <chao2.yu@samsung.com>
Thu, 19 Nov 2015 08:09:07 +0000 (16:09 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 4 Dec 2015 19:52:35 +0000 (11:52 -0800)
commit57b62d29ad5b384775974973087d47755a8c6fcc
tree194a4ff28c70347380e2628b59f1f46079fa6b21
parentf478f43fa0d8f38537848d298980955244afdaee
f2fs: fix to report error in f2fs_readdir

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 <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/dir.c