summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2024-05-09 23:00:48 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2025-11-18 07:59:27 +0300
commit781716cd4a927a6df09f78106f192cdb30560552 (patch)
tree1628445dda5c0cc3195b92c971fbc5e3ea66798a /scripts
parent57db9d428ba5008ca7d664463d7ee1d486b86976 (diff)
downloadlinux-781716cd4a927a6df09f78106f192cdb30560552.tar.xz
hypfs: don't pin dentries twice
hypfs dentries end up with refcount 2 when they are not busy. Refcount 1 is enough to keep them pinned, and going that way allows to simplify things nicely: * don't need to drop an extra reference before the call of kill_litter_super() in ->kill_sb(); all we need there is to reset the cleanup list - everything on it will be taken out automatically. * we can make use of simple_recursive_removal() on tree rebuilds; just make sure that only children of root end up in the cleanup list and hypfs_delete_tree() becomes much simpler Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions