A plaintiff in ejectment may in all cases make the true claimant a defendant by serving a copy of the pending action upon him, and the person so notified shall be bound by the judgment.