]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: assert filer->zero() to be successful 9803/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Mon, 20 Jun 2016 06:47:07 +0000 (14:47 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Mon, 20 Jun 2016 06:47:07 +0000 (14:47 +0800)
commitdf3690440428abc3085c8888c92aa1263da9f8cc
tree334528c79fe74dcb9bbb408265d17a9b09d828e1
parent6cf48400faf104519f178b78dbaa57a3bd45a43e
client: assert filer->zero() to be successful

On error, it will normally be the caller's responsibility to
release context, which we don't do it here.

Since filer->zero() never returns anything other than 0,
we assert this call to be successful for now.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/client/Client.cc