diff options
author | Liu Yuan <namei.unix@gmail.com> | 2013-10-23 16:51:51 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-10-28 17:39:56 +0100 |
commit | 29a67f7e9204a25bc4b6221f287ad0ae38d8cbdc (patch) | |
tree | 866053e18b4101eab63be524a6c77b255daa2e61 /target-cris/cpu.h | |
parent | 61ed2684539f7f31304e193d7c0e68d57ce6be88 (diff) |
sheepdog: explicitly set copies as type uint8_t
'copies' is actually uint8_t since day one, but request headers and some helper
functions parameterize it as uint32_t for unknown reasons and effectively
reserve 24 bytes for possible future use. This patch explicitly set the correct
for copies and reserve the left bytes.
This is a preparation patch that allow passing copy_policy in request header.
Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Liu Yuan <namei.unix@gmail.com>
Acked-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'target-cris/cpu.h')
0 files changed, 0 insertions, 0 deletions