ecryptfs: don't leave RCU pathwalk immediately
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 16 Sep 2013 00:45:11 +0000 (20:45 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 25 Oct 2013 03:34:48 +0000 (23:34 -0400)
commit2edbfbf1c1ab0aeb58ce8abfb69b6f6b63542848
treedc37f9a9aac1cd63c578841b29a039fbe86f48bf
parent3a93e17cf68b01fa29c7a2e861ce508dcd3401ca
ecryptfs: don't leave RCU pathwalk immediately

If the underlying dentry doesn't have ->d_revalidate(), there's no need to
force dropping out of RCU mode.  All we need for that is to make freeing
ecryptfs_dentry_info RCU-delayed.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ecryptfs/dentry.c
fs/ecryptfs/ecryptfs_kernel.h