Skip to content
Commit 9c6ea7ab 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 a70c2dd7
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