Skip to content
Commit 803cc77a authored by Al Viro's avatar Al Viro Committed by Greg Kroah-Hartman
Browse files

ceph_wait_on_conflict_unlink(): grab reference before dropping ->d_lock



[ Upstream commit dc32464a ]

Use of dget() after we'd dropped ->d_lock is too late - dentry might
be gone by that point.

Reviewed-by: default avatarJeff Layton <jlayton@kernel.org>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 9eab5008
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment