Linus Torvalds writes: (Summary) Because we do have such a list: the dentry
sibling list.
sibling list.
So what if we instead of using s_anon, we create a "disconnected root", and make all the disconnected dentries be children of that disconnected root instead?
disconnected root instead?
Wouldn't that be nicer? The "reconnect" would be basically a "move from disconnected parent to right place".
from disconnected parent to right place".
Maybe I'm missing something, but that sounds much more logical than the current s_anon list.
the current s_anon list.
I guess that would work too, but I'm not seeing why s_anon is so wonderful.
sibling list.
So what if we instead of using s_anon, we create a "disconnected root", and make all the disconnected dentries be children of that disconnected root instead?
disconnected root instead?
Wouldn't that be nicer? The "reconnect" would be basically a "move from disconnected parent to right place".
from disconnected parent to right place".
Maybe I'm missing something, but that sounds much more logical than the current s_anon list.
the current s_anon list.
[...]
* keep umount side of things unchanged.I guess that would work too, but I'm not seeing why s_anon is so wonderful.