diff options
author | Tyler Hicks <tyhicks@canonical.com> | 2015-08-05 19:26:36 +0300 |
---|---|---|
committer | Tyler Hicks <tyhicks@canonical.com> | 2015-08-19 01:29:48 +0300 |
commit | 5556e7e6d30e8e9b5ee51b0e5edd526ee80e5e36 (patch) | |
tree | 58681123e05bcd96b246de427babcfa756acd27e /fs/ecryptfs/crypto.c | |
parent | 4469942bbbe5ebf845e04971d8c74e9b6178f9fa (diff) | |
download | linux-5556e7e6d30e8e9b5ee51b0e5edd526ee80e5e36.tar.xz |
eCryptfs: Invalidate dcache entries when lower i_nlink is zero
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
Diffstat (limited to 'fs/ecryptfs/crypto.c')
0 files changed, 0 insertions, 0 deletions