diff options
| author | 2019-02-21 10:34:11 +0800 | |
|---|---|---|
| committer | 2019-02-26 11:52:46 +0100 | |
| commit | bee1568293d723caa192e200086e29fc37492583 (patch) | |
| tree | a1640c5f36515ed901ab16e6397d03436b44155f | |
| parent | staging: rtl8188eu: remove unnecessary parentheses in rtl8188e_cmd.c (diff) | |
staging: erofs: switch to ->iterate_shared()
After commit 6192269444eb ("introduce a parallel variant of ->iterate()"),
readdir can be done without taking exclusive inode lock of course.
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/staging/erofs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/erofs/dir.c b/drivers/staging/erofs/dir.c index 8f8ac9675921..829f7b12e0dc 100644 --- a/drivers/staging/erofs/dir.c +++ b/drivers/staging/erofs/dir.c @@ -142,6 +142,6 @@ skip_this: const struct file_operations erofs_dir_fops = { .llseek = generic_file_llseek, .read = generic_read_dir, - .iterate = erofs_readdir, + .iterate_shared = erofs_readdir, }; |
