[PATCH v4 1/2] ceph: export __get_cap_for_mds() helper