commit | 3d43bcfef5f0548845a425365011c499875491b0 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sat Mar 26 16:15:42 2016 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sat Mar 26 16:15:42 2016 -0400 |
tree | d2d0be7090b3e17401a70788e93a2668866c831b | |
parent | c0a37d48788475d0a2cf4fbfaa28559a9de612fc [diff] |
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