From: Sage Weil Date: Tue, 26 Jul 2011 18:30:43 +0000 (-0700) Subject: ceph: protect d_parent access in ceph_d_revalidate X-Git-Tag: v3.1-rc1~220^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf1c6aca96c9d2f117dc7e590c2bc2304e7febe1;p=pandora-kernel.git 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 Signed-off-by: Sage Weil --- Reading git-diff-tree failed