Thanks! I'll send the corrected patch.looks so! Will be glad to Ack/Sign or whatever needed :)))
So, everythings fine now?
But I'm not sure it is that simple... s_root is set to NULL w/o locks, so I wonder whether it is safe to check it here or we can miss some wakeups...d_free(dentry);
if (parent != dentry)
dput(parent);
spin_lock(&dcache_lock);
+ sb->s_prunes--;
+ if (likely(!sb->s_prunes))
<<< Is it possibe to do something like:
if (unlikely(!sb->s_root && !sb->s_prunes))
?
Uh, I forgot about that one. You already complained about that before :(