f2fs: allow readdir() to be interrupted
authorChao Yu <yuchao0@huawei.com>
Fri, 13 Oct 2017 10:01:34 +0000 (18:01 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 19 Dec 2017 03:28:11 +0000 (19:28 -0800)
commit457e9c032c4a85b6384ee929f13a45e0156f778b
tree3cdf30833fc004c1e0690b2dc2d7b714e2d0e92f
parent2d1af27c57f9a7d06096dafecdf51b06e25e9d07
f2fs: allow readdir() to be interrupted

This patch follows ext4 to allow readdir() in large empty directory to
be interrupted. Referenced commit of ext4: 1f60fbe72749 ("ext4: allow
readdir()'s of large empty directories to be interrupted").

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