]> git.itanic.dy.fi Git - linux-stable/commit
afs: Revert "afs: Hide silly-rename files from userspace"
authorDavid Howells <dhowells@redhat.com>
Wed, 13 Mar 2024 11:08:41 +0000 (11:08 +0000)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:22:24 +0000 (18:22 -0400)
commit854ebf45a4ddd4cadeffb6644e88d19020634e1a
tree6e0027fa55b36d0cce3aa3cfd54a637ecc52a78c
parentafcbba70bf553f00c7703627378e28debcbcf815
afs: Revert "afs: Hide silly-rename files from userspace"

[ Upstream commit 0aec3847d044273733285dcff90afda89ad461d2 ]

This reverts commit 57e9d49c54528c49b8bffe6d99d782ea051ea534.

This undoes the hiding of .__afsXXXX silly-rename files.  The problem with
hiding them is that rm can't then manually delete them.

This also reverts commit 5f7a07646655fb4108da527565dcdc80124b14c4 ("afs: Fix
endless loop in directory parsing") as that's a bugfix for the above.

Fixes: 57e9d49c5452 ("afs: Hide silly-rename files from userspace")
Reported-by: Markus Suvanto <markus.suvanto@gmail.com>
Link: https://lists.infradead.org/pipermail/linux-afs/2024-February/008102.html
Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/r/3085695.1710328121@warthog.procyon.org.uk
Reviewed-by: Jeffrey E Altman <jaltman@auristor.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/afs/dir.c