summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorXiubo Li <xiubli@redhat.com>2023-11-17 08:26:18 +0300
committerIlya Dryomov <idryomov@gmail.com>2024-01-15 17:40:50 +0300
commitb493ad718b1f0357394d2cdecbf00a44a36fa085 (patch)
tree2c6c9a25b8de2ff1cd7f67ff4de538438d6aff52 /init
parentaaefabc4a5f7ae48682c4d2d5d10faaf95c08eb9 (diff)
downloadlinux-b493ad718b1f0357394d2cdecbf00a44a36fa085.tar.xz
ceph: fix deadlock or deadcode of misusing dget()
The lock order is incorrect between denty and its parent, we should always make sure that the parent get the lock first. But since this deadcode is never used and the parent dir will always be set from the callers, let's just remove it. Link: https://lore.kernel.org/r/20231116081919.GZ1957730@ZenIV Reported-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Xiubo Li <xiubli@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions