ceph: protect d_parent access in ceph_d_revalidate
authorSage Weil <sage@newdream.net>
Tue, 26 Jul 2011 18:30:43 +0000 (11:30 -0700)
committerSage Weil <sage@newdream.net>
Tue, 26 Jul 2011 18:30:43 +0000 (11:30 -0700)
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>

No differences found