Comment 13 for bug 713769

Revision history for this message
Herton R. Krzesinski (herton) wrote :

From what I saw force_reval_path is never called with LOOKUP_RCU flag set. Who calls force_reval_path is __do_follow_link, and __do_follow_link is called from do_filp_open and do_follow_link. When do_filp_open calls it, it already dropped LOOKUP_RCU (if path rcu lookup didn't work). do_follow_link also calls it without LOOKUP_RCU set from what I'm seeing, as before each do_follow_link call nameidata_dentry_drop_rcu_maybe is called.

So simply removing again nameidata_drop_rcu from force_reval_path should do it. I'm running now on this attached patch and didn't experience the same bug or other problems.