]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 18 Sep 2013 02:32:11 +0000 (22:32 -0400)
commitd4b289ef7110cc951d1d26b177cff6ea1fcfbecd
tree3b291bc475538a4850feaead7c7070547eb9b6f5
parent575104fb96661e3347d297df4345f5caa74858bf
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