]> git.baikalelectronics.ru Git - kernel.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>
Fri, 25 Oct 2013 03:34:48 +0000 (23:34 -0400)
commit952524ed2b49887fcfe5ff98fe0444c606927be1
treedc37f9a9aac1cd63c578841b29a039fbe86f48bf
parent62fcc927caac11fc2802a630dab45a46b36a1ce2
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