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@google.com>
Mon, 25 Sep 2017 22:11:27 +0000 (15:11 -0700)
commit7d2eab1921a170ba724bdaf5247d76336ed5472e
treed2878f83ef5db336be9516df13975bf86ce6581d
parentd4ec990d259694a05fc3cb38ef0b70f6159c3eb8
f2fs: report error of f2fs_fill_dentries

commit ed6bd4b146527e7c6934e3582c47d7b857802676 upstream.

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