commit | bf1c6aca96c9d2f117dc7e590c2bc2304e7febe1 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Tue Jul 26 11:30:43 2011 -0700 |
committer | Sage Weil <sage@newdream.net> | Tue Jul 26 11:30:43 2011 -0700 |
tree | 1ecb6f35e572ba1e498390d1b09faf3c309bbaee | |
parent | 5f21c96dd5c615341963036ae8f5e4f5227a818d [diff] |
ceph: protect d_parent access in ceph_d_revalidate Protect d_parent with d_lock. Carry a reference. Simplify the flow so that there is a single exit point and cleanup. Reviewed-by: Yehuda Sadeh <yehuda@hq.newdream.net> Signed-off-by: Sage Weil <sage@newdream.net>