diff options
author | Theodore Ts'o <tytso@mit.edu> | 2016-03-26 16:15:42 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2016-03-26 16:15:42 -0400 |
commit | 3d43bcfef5f0548845a425365011c499875491b0 (patch) | |
tree | d2d0be7090b3e17401a70788e93a2668866c831b /fs/jffs2/compr.h | |
parent | c0a37d48788475d0a2cf4fbfaa28559a9de612fc (diff) | |
download | linux-3d43bcfef5f0548845a425365011c499875491b0.tar.gz linux-3d43bcfef5f0548845a425365011c499875491b0.tar.bz2 linux-3d43bcfef5f0548845a425365011c499875491b0.zip |
ext4 crypto: use dget_parent() in ext4_d_revalidate()
This avoids potential problems caused by a race where the inode gets
renamed out from its parent directory and the parent directory is
deleted while ext4_d_revalidate() is running.
Fixes: 28b4c263961c
Reported-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/jffs2/compr.h')
0 files changed, 0 insertions, 0 deletions