§ 621. Separate action by joint tenant or tenant in common. Where two or more persons are entitled to the possession of real property as joint tenants or tenants in common, one or more of them may maintain the action to recover his or their undivided shares in the property in any case where such an action might be maintained by all.