The plaintiff may, at his or her option, make creditors having a lien upon the property or any portion thereof, other than by a judgment or decree, defendants in the suit. When the lien is upon an undivided interest or estate of any of the parties, such lien, if a partition be made, is thenceforth a lien only on the share assigned to such party; but such share shall be first charged with its just proportion of the costs of the partition, in preference to such lien.
RCW 7.52.030