The trustee has a claim against the estate of each general partner in such partnership that is a debtor in a case under this title for the full amount of all claims of creditors allowed in the case concerning such partnership. Notwithstanding
section 502 of this title, there shall not be allowed in such partner’s case a claim against such partner on which both such partner and such partnership are liable, except to any extent that such claim is secured only by property of such partner and not by property of such partnership. The claim of the trustee under this subsection is entitled to distribution in such partner’s case under
section 726(a) of this title the same as any other claim of a kind specified in such section.