aboutsummaryrefslogtreecommitdiff
path: root/fs/hfs/brec.c
diff options
context:
space:
mode:
authorTyler Hicks <tyhicks@canonical.com>2015-08-05 11:26:36 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-29 19:26:15 +0200
commit22fda415e1316c6077277341cd5d8679f6f630fa (patch)
tree9f05709751cc7ab34c7e6abf8e74a478e350fe73 /fs/hfs/brec.c
parentfeab9b2a1002c23d415f7a2db4f4777c60d3eb52 (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/brec.c')
0 files changed, 0 insertions, 0 deletions