mirror of
https://github.com/ceph/ceph
synced 2025-03-09 09:48:09 +00:00
librbd: trivial fix to remove unused code block
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
This commit is contained in:
parent
569babc629
commit
8d80c05029
@ -36,9 +36,6 @@ ssize_t AioImageRequestWQ::read(uint64_t off, uint64_t len, char *buf,
|
||||
ldout(cct, 20) << "read: ictx=" << &m_image_ctx << ", off=" << off << ", "
|
||||
<< "len = " << len << dendl;
|
||||
|
||||
std::vector<std::pair<uint64_t,uint64_t> > image_extents;
|
||||
image_extents.push_back(make_pair(off, len));
|
||||
|
||||
C_SaferCond cond;
|
||||
AioCompletion *c = AioCompletion::create(&cond);
|
||||
aio_read(c, off, len, buf, NULL, op_flags, false);
|
||||
|
Loading…
Reference in New Issue
Block a user