projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00fa366
)
staging: erofs: switch to ->iterate_shared()
author
Gao Xiang
<gaoxiang25@huawei.com>
Thu, 21 Feb 2019 02:34:11 +0000
(10:34 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 26 Feb 2019 10:52:46 +0000
(11:52 +0100)
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>
drivers/staging/erofs/dir.c
patch
|
blob
|
history
diff --git
a/drivers/staging/erofs/dir.c
b/drivers/staging/erofs/dir.c
index 8f8ac96759219a92f6ee3697c66cf6e975787349..829f7b12e0dcf4aa3ee34a5315f6d5f52b7087ec 100644
(file)
--- 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,
};