diff options
author | Alex Elder <elder@inktank.com> | 2013-03-13 20:50:00 -0500 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-05-01 21:17:44 -0700 |
commit | a8dd0a37bc016cfb3ac75cf8484428573bb8d862 (patch) | |
tree | 4bd078753c105f3b1946457fdceb43f286f1b7cc /arch/arm64 | |
parent | adfe695a25e92e3a4597807fbc7f9a8105218776 (diff) |
libceph: define osd_req_opcode_valid()
Define a separate function to determine the validity of an opcode,
and use it inside osd_req_encode_op() in order to unclutter that
function.
Don't update the destination op at all--and return zero--if an
unsupported or unrecognized opcode is seen in osd_req_encode_op().
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'arch/arm64')
0 files changed, 0 insertions, 0 deletions