From 668128e90b9596668141539326178dacc42af188 Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Fri, 8 Aug 2014 14:19:54 -0700 Subject: [PATCH] autofs4: don't take spinlock when not needed in autofs4_lookup_expiring If the expiring_list is empty, we can avoid a costly spinlock in the rcu-walk path through autofs4_d_manage (once the rest of the path becomes rcu-walk friendly). Signed-off-by: NeilBrown Reviewed-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed