I don't think linear dungeon design (as in a straight line of rooms instead of various branches) isn't railroading. It might be bad or boring dungeon design, but it's not railroading.
Taking Tomb of Horrors as an example, as written, the players can at any time turn around and walk out. The...