diff options
author | Theodore Ts'o <tytso@mit.edu> | 2016-03-26 16:15:42 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-08 07:46:02 +0200 |
commit | 41948f88a521b95e8abc793602015a6d45f52a06 (patch) | |
tree | efd46586d7ece6f4e98d0f8fe4a47d7372c28d78 /fs/compat_binfmt_elf.c | |
parent | 2faff9d1dfc560da3bfba6a8ab0c30246fd6c1cb (diff) |
ext4 crypto: use dget_parent() in ext4_d_revalidate()
commit 3d43bcfef5f0548845a425365011c499875491b0 upstream.
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>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/compat_binfmt_elf.c')
0 files changed, 0 insertions, 0 deletions