Revert "get rid of DCACHE_GENOCIDE"
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 4 Feb 2024 04:53:05 +0000 (23:53 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 10 Feb 2024 04:31:16 +0000 (23:31 -0500)
commit7e4a205fe56b9092f0143dad6aa5fee081139b09
tree494c45bb1a3783b9bebb2ae87ebb879e1b6fc55b
parent6613476e225e090cc9aad49be7fa504e290dd33d
Revert "get rid of DCACHE_GENOCIDE"

This reverts commit 57851607326a2beef21e67f83f4f53a90df8445a.

Unfortunately, while we only call that thing once, the callback
*can* be called more than once for the same dentry - all it
takes is rename_lock being touched while we are in d_walk().
For now let's revert it.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c
include/linux/dcache.h