The relationship between Sam and Frodo was a take on the relationship between a WWII British officer and his assistant (the title of which escapes me at the moment).
batman
WWI I think, but you are correct. It was not about homosexuality at all.