ceph: simplify ceph_buffer interface
We never allocate the ceph_buffer and buffer separtely, so use a single
constructor.
Disallow put on NULL buffer; make the caller check.
Signed-off-by: NSage Weil <sage@newdream.net>
Showing
想要评论请 注册 或 登录