f2fs: report error of f2fs_fill_dentries
authorChao Yu <yuchao0@huawei.com>
Sat, 29 Oct 2016 10:46:34 +0000 (18:46 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 23 Nov 2016 20:11:12 +0000 (12:11 -0800)
commited6bd4b146527e7c6934e3582c47d7b857802676
tree8e27ae614b16fcc9bd3e7abfba68049d947f2b69
parent230436b3ef3fd7d4a1da19edf5e87bb2d74e0fc2
f2fs: report error of f2fs_fill_dentries

Report error of f2fs_fill_dentries to ->iterate_shared, otherwise when
error ocurrs, user may just list part of dirents in target directory
without any hints.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/dir.c
fs/f2fs/f2fs.h
fs/f2fs/inline.c