Multi-choice problem: does word "rack" have the same meaning in the following two sentences?

Rack one's brains.

Rack a camera.

Pick your answer from: (A). different meanings. (B). the same meaning.
(A).