Not so long. My grandfather, born 1908 in Norway, kept the proper patronym as a middle name since he would otherwise have the same full name as his father. Everyone had to take fixed last names by 1923, but it wasn't uncommon to keep the patronym as a middle name like my grandfather did.