rbd: Fix ceph_snap_context size calculation
authorYan, Zheng <zheng.z.yan@intel.com>
Wed, 6 Jun 2012 14:15:33 +0000 (09:15 -0500)
committerSage Weil <sage@inktank.com>
Wed, 18 Jul 2012 04:30:19 +0000 (21:30 -0700)
commit236df3755d944c33120d77e84b5ff6f3917eb307
treebb7aa4bb12f3948be7ec3797822dae9fe6dadc8f
parent5bdca4e0768d3e0f4efa43d9a2cc8210aeb91ab9
rbd: Fix ceph_snap_context size calculation

ceph_snap_context->snaps is an u64 array

Signed-off-by: Zheng Yan <zheng.z.yan@intel.com>
Reviewed-by: Alex Elder <elder@inktank.com>
(cherry picked from commit f9f9a1904467816452fc70740165030e84c2c659)
drivers/block/rbd.c