THAT is railroading. THAT is "hey, you're not making the choice I want to you make, so I will bend the game world, as hard as necessary, until you have made that choice."
If the players stop in a village, and decide to spend a week helping some villager with something, and you spend a session...