git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adfe695
)
libceph: define osd_req_opcode_valid()
author
Alex Elder
<elder@inktank.com>
Thu, 14 Mar 2013 01:50:00 +0000
(20:50 -0500)
committer
Sage Weil
<sage@inktank.com>
Thu, 2 May 2013 04:17:44 +0000
(21:17 -0700)
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>
net/ceph/osd_client.c
patch
|
blob
|
history
diff --cc
net/ceph/osd_client.c
Simple merge