Looks like 100mm, did you try holding the wheel down and pulling up on the bars first to make sure the fork was fully extended?
If it's an air version is may have a spacer on the air shaft that can be removed to make it 120mm if it is 100mm at the moment, Be worth checking this out before buying anything (maybe just look at the service manual rather than stripping them down)