]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: fix request time stamp encoding
authorYan, Zheng <zyan@redhat.com>
Tue, 13 Jan 2015 07:20:52 +0000 (15:20 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 19 Feb 2015 10:31:39 +0000 (13:31 +0300)
commita27865b7cfe9594a1a9a0f8e03d95282be8ac53e
treeeb4f21b020338f22264a413ef39f47ec9c5ddb01
parent9ffbfd54ba004e38b31bd16e794efcf2b9bff56a
ceph: fix request time stamp encoding

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>
fs/ceph/mds_client.c