| commit | c229b694a63e310d4d69fed419aab1e81b10600a | [log] [tgz] |
|---|---|---|
| author | Al Viro <viro@zeniv.linux.org.uk> | Mon Jun 06 18:55:57 2016 -0400 |
| committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Jun 09 12:24:26 2016 -0400 |
| tree | 1a47354942e10259c0fdbcf24a0ba493f62c60f0 | |
| parent | 1607f09c226d1378439c411baaaa020042750338 [diff] |
dcache_{readdir,dir_lseek}(): don't bother with nested ->d_lock
Make sure that directory is locked shared in dcache_dir_lseek();
for dcache_readdir() it's already tru, and that's enough to make
simple_positive() stable.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>