[PATCH 4.4 68/85] ceph: fix potential race in ceph_check_caps