nilfs2: accept 64-bit checkpoint numbers in cp mount option
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Wed, 15 Sep 2010 15:36:24 +0000 (00:36 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Sat, 23 Oct 2010 00:24:39 +0000 (09:24 +0900)
commitc05dbfc2609993ccc067879579e2a7726e12b3f1
treed5b20ce06901a05b8649d31eb8694fef8f2dddb7
parent2879ed66e4c6da1dfc6bb0bd04566b61824f9256
nilfs2: accept 64-bit checkpoint numbers in cp mount option

The current implementation doesn't mount snapshots with checkpoint
numbers larger than INT_MAX since it uses match_int() for parsing
"cp=" mount option.

This uses simple_strtoull() for the conversion to resolve the issue.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
fs/nilfs2/super.c