mirror of
https://github.com/ceph/ceph
synced 2025-03-06 08:20:12 +00:00
librbd: Remove the redundant judgement.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
This commit is contained in:
parent
e146b04ba2
commit
059c0d15bb
@ -1264,7 +1264,7 @@ reprotect_and_return_err:
|
||||
if (!*order)
|
||||
*order = RBD_DEFAULT_OBJ_ORDER;
|
||||
|
||||
if (*order && (*order > 64 || *order < 12)) {
|
||||
if (*order > 64 || *order < 12) {
|
||||
lderr(cct) << "order must be in the range [12, 64]" << dendl;
|
||||
return -EDOM;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user