Skip to content
Commit 82d64cbe authored by David Howells's avatar David Howells Committed by Greg Kroah-Hartman
Browse files

afs: Fix the dynamic root's d_delete to always delete unused dentries



[ Upstream commit 71f8b55b ]

Fix the afs dynamic root's d_delete function to always delete unused
dentries rather than only deleting them if they're positive.  With things
as they stand upstream, negative dentries stemming from failed DNS lookups
stick around preventing retries.

Fixes: 66c7e1d3 ("afs: Split the dynroot stuff out and give it its own ops tables")
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Tested-by: default avatarMarkus Suvanto <markus.suvanto@gmail.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 2b4600fb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment