mirror of
https://github.com/ceph/ceph
synced 2025-02-12 05:18:35 +00:00
rbd: fix logically dead code in function list_process_image
Signed-off-by: Luo Kexue <luo.kexue@zte.com.cn>
This commit is contained in:
parent
013948aa14
commit
50e9ce2201
@ -141,7 +141,7 @@ int list_process_image(librados::Rados* rados, WorkerEntry* w, bool lflag, Forma
|
||||
}
|
||||
}
|
||||
|
||||
return r < 0 ? r : 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int do_list(std::string &pool_name, bool lflag, int threads, Formatter *f) {
|
||||
|
Loading…
Reference in New Issue
Block a user