[PATCH 6.16 101/189] ceph: fix race condition validating r_parent before applying state