]> www.infradead.org Git - users/hch/misc.git/commit
spufs: switch to locked_recursive_removal()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 9 May 2024 20:36:24 +0000 (16:36 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 3 Jul 2025 02:36:51 +0000 (22:36 -0400)
commit8c0e092e3875fe834ca37a2953c91cb42cc0ceeb
treee3486a27dc57be1e0273533725edee765f303f62
parent9fd45235fdd2c2615a03c86ebe5a88b050dc5680
spufs: switch to locked_recursive_removal()

... and fix an old deadlock on spufs_mkdir() failures to populate
subdirectory - spufs_rmdir() had always been taking lock on the
victim, so doing it while the victim is locked is a bad idea.

Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/powerpc/platforms/cell/spufs/inode.c