]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: use min<uint64_t>() explicitly 14202/head
authorKefu Chai <kchai@redhat.com>
Tue, 28 Mar 2017 18:05:07 +0000 (02:05 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 28 Mar 2017 18:26:53 +0000 (02:26 +0800)
commit2ad4aa0c2a95df0d46e9b3d76682e4c772ad8fea
treefc3a60f2ec185483be15fcd79ff7d4a0dc032fc9
parente32b1b8793c4dcb22907cb86152c48360ac7a0ff
rbd: use min<uint64_t>() explicitly

on arm32, size_t is actually int, which cannot be compared with uint64_t
using std::min().

Fixes: http://tracker.ceph.com/issues/18938
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/tools/rbd/action/Import.cc