]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cls: fix the build on i386
authorKefu Chai <kchai@redhat.com>
Thu, 16 Jul 2015 06:04:07 +0000 (14:04 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 16 Jul 2015 06:04:08 +0000 (14:04 +0800)
commit0dae022ddf8c89d2de85a1204678b980efbedfa8
treef2e474f8bf41858ddf320412f5476d133cf57d0f
parentcabbecb7dd015ed43f29a04bffed8d177e232e70
cls: fix the build on i386

time_t is more a arithmetic type. and it's not portable. it's always
defined as "long int" by libc. and we have no encode(int, bl), which
is expected. so a safe way is to use int64_t for presenting the mtime
returned from the stat() call.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/cls/cephfs/cls_cephfs.h