Skip to content
Commit 74f70ad1 authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson
Browse files

document-portal: Ensure root docdir inode alive while there are other inodes

The root inode of the document directory is cheap to keep alive (no fd)
and it keeps the document domain alive. If the kernel forgets it and
it has no other reference then the next time the kernel asks for it
we will create a new document domain. This is bad because other existing
inodes might still be using the old document domain.

So, we keep a ref from the non-root inodes of a domain to the root inode.
parent 39453edd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment