diff options
author | Tyler Hicks <tyhicks@canonical.com> | 2015-08-05 11:26:36 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-29 19:33:34 +0200 |
commit | ad38be828d98b4917b15c9376559be15958ae9d2 (patch) | |
tree | 3f4480a6db496f4651a6a1e388335087045ff057 /fs/hfs | |
parent | a891affdf7dcc12933c7eec81e2165c8d0d31bc5 (diff) |
eCryptfs: Invalidate dcache entries when lower i_nlink is zero
commit 5556e7e6d30e8e9b5ee51b0e5edd526ee80e5e36 upstream.
Consider eCryptfs dcache entries to be stale when the corresponding
lower inode's i_nlink count is zero. This solves a problem caused by the
lower inode being directly modified, without going through the eCryptfs
mount, leaving stale eCryptfs dentries cached and the eCryptfs inode's
i_nlink count not being cleared.
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Reported-by: Richard Weinberger <richard@nod.at>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/hfs')
0 files changed, 0 insertions, 0 deletions