Flint gives the quest, prior to crossing the bridge to get to the undead room. Easy enough. Flints book spawns back where the green goblins hang out. Same with the barrels of barley. grab both the book and the barley when you are back there, save yourself a trip.