mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
libceph: encode CEPH_OSD_OP_FLAG_* op flags
Encode ceph_osd_op::flags field so that it gets sent over the wire. Signed-off-by: Ilya Dryomov <[email protected]> Reviewed-by: Sage Weil <[email protected]> Reviewed-by: Alex Elder <[email protected]>
This commit is contained in:
parent
42dd037c08
commit
7b25bf5f02
3 changed files with 4 additions and 1 deletions
|
|
@ -688,7 +688,9 @@ static u64 osd_req_encode_op(struct ceph_osd_request *req,
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
dst->op = cpu_to_le16(src->op);
|
||||
dst->flags = cpu_to_le32(src->flags);
|
||||
dst->payload_len = cpu_to_le32(src->payload_len);
|
||||
|
||||
return request_data_len;
|
||||
|
|
|
|||
Loading…
Reference in a new issue