I'd never thought about where the 19th century sailors stored their bedding, but with the natural curve of the hammock, I could see how a few rolls would stay inside the canvas and move with the rock of the ship.
The photo above was taken on board the ship used in the movie Master and Commander.