Linus Torvalds writes: (Summary) wrote:
might become pretty clear and clean.
I'd suggest you ignore lock_parent() for now. Unless you come up with something clever.
something clever.
Linus
Linus
Linus
[...]
would know if they needed to recheck the dentry contents. So you'd have to add another way to say "didn't need to drop dentry lock". And then your dentry_kill() patch can use a "switch ()" to handle the cases, and the whole "need to revalidate" might become pretty clear and clean.might become pretty clear and clean.
I'd suggest you ignore lock_parent() for now. Unless you come up with something clever.
something clever.
Linus
Linus
Linus