ceph/ceph — pull request #2828 by Vicente-Cheng (2014-10-29 04:22:51+00:00)
Title: rbd: Fix the rbd export when image size more than 2G

When using export and the size of image is more
than 2G, the previous version about finish() could not handle in
seeking the offset in image and return error.

This is caused by the incorrect variable type. Try to use the correct
variable type to fixed it.

I use another variable which type is uint64_t for confirming seeking
and still use the previous r for return error.

uint64_t is more better than type int for handle lseek64().

Signed-off-by: Vicente Cheng