]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dcache: don't need rcu in shrink_dentry_list()
authorMiklos Szeredi <mszeredi@suse.cz>
Fri, 2 May 2014 19:38:39 +0000 (15:38 -0400)
committerJiri Slaby <jslaby@suse.cz>
Thu, 30 Oct 2014 21:17:39 +0000 (22:17 +0100)
commit72b7f65091199b7ae38ad658c5ce8246f1496976
tree87a9d032e1f1b37dc83621efae6c2e2f240c344a
parent2c52637bf31e69e2025cd6ad088b7cb1b726ad7b
dcache: don't need rcu in shrink_dentry_list()

commit 60942f2f235ce7b817166cdf355eed729094834d upstream.

Since now the shrink list is private and nobody can free the dentry while
it is on the shrink list, we can remove RCU protection from this.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
fs/dcache.c