Civil Code § 2874
ARTICLE 1. Definition of Liens
A general lien is one which the holder thereof is entitled to enforce as a security for the performance of all the obligations, or all of a particular class of obligations, which exist in his favor against the owner of the property.