[Devel] [PATCH RHEL7 COMMIT] dcache: drop rcu leftover in shrink_dentry_list()

Konstantin Khorenko khorenko at virtuozzo.com
Fri Aug 17 13:41:00 MSK 2018


The commit is pushed to "branch-rh7-3.10.0-862.11.6.vz7.64.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-862.11.6.vz7.64.3
------>
commit 1790081c21ebc0c409f14dc2da9c8b59a6e652ac
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date:   Fri Aug 17 12:37:25 2018 +0300

    dcache: drop rcu leftover in shrink_dentry_list()
    
    Fixes: c5441a786a4a ("ms/dcache: don't need rcu in shrink_dentry_list()")
    
    https://jira.sw.ru/browse/PSBM-87815
    
    Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
 fs/dcache.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/dcache.c b/fs/dcache.c
index 665b6f255be3..b7bdf01fb548 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -871,7 +871,6 @@ static void shrink_dentry_list(struct list_head *list)
 			spin_unlock(&dentry->d_lock);
 			if (parent)
 				spin_unlock(&parent->d_lock);
-			rcu_read_unlock();
 			continue;
 		}
 


More information about the Devel mailing list