[openEuler-5.10 051/150] ceph: don't leak snap_rwsem in handle_cap_grant