diff options
| author | Yan, Zheng <zyan@redhat.com> | 2016-04-01 10:38:08 -0700 |
|---|---|---|
| committer | Luis Henriques <luis.henriques@canonical.com> | 2016-04-11 09:51:43 +0100 |
| commit | 3ffac7f4aaf5d20791fd2d9b7a31f44dc97414dc (patch) | |
| tree | 378b02fb340bc77e64ab321c227398d85e809e8c /include | |
| parent | 173d111b4a26744a2c8f230901a0a418d083efa0 (diff) | |
ceph: fix request time stamp encoding
commit 1f041a89b4f22cf2e701514f4b8f73a8b1e06a3e upstream.
struct timespec uses 'long' to present second and nanosecond. 'long'
is 64 bits on 64bits machine. ceph MDS expects time stamp to be
encoded as struct ceph_timespec, which uses 'u32' to present second
and nanosecond.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
BugLink: http://tracker.ceph.com/issues/15302
BugLink: http://bugs.launchpad.net/bugs/1564950
[ kamal: backport to 3.16-stable: no time stamp in __prepare_send_request() ]
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
