]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1de5b88a6e2469c53540e25ab15266d098994df5
tree194a4ff28c70347380e2628b59f1f46079fa6b21
parentbc99fa3163188e3045105b20465dbf95403f9492
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