summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2024-05-09 16:00:48 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2025-11-17 23:59:27 -0500
commit781716cd4a927a6df09f78106f192cdb30560552 (patch)
tree1628445dda5c0cc3195b92c971fbc5e3ea66798a /tools/lib/python/kdoc/python_version.py
parent57db9d428ba5008ca7d664463d7ee1d486b86976 (diff)
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 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions