libceph: fix truncate size calculation
authorYan, Zheng <zheng.z.yan@intel.com>
Sun, 2 Jun 2013 10:40:23 +0000 (18:40 +0800)
committerSage Weil <sage@inktank.com>
Wed, 3 Jul 2013 22:32:45 +0000 (15:32 -0700)
commitccca4e37b1a912da3db68aee826557ea66145273
tree5233ee63e39de174cf845e1a65308a0d99aae224
parenteb845ff13a44477f8a411baedbf11d678b9daf0a
libceph: fix truncate size calculation

check the "not truncated yet" case

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Reviewed-by: Sage Weil <sage@inktank.com>
net/ceph/osd_client.c