Messages in this thread | | | Date | Sat, 13 Feb 2016 18:05:13 -0800 | Subject | Re: [RFC v2a 11/12] net: ceph: use vfs_time data type instead of timespec | From | Deepa Dinamani <> |
| |
>> static inline void ceph_encode_timespec(struct ceph_timespec *tv, >> const struct timespec *ts) >> { >> tv->tv_sec = cpu_to_le32((u32)ts->tv_sec); >> tv->tv_nsec = cpu_to_le32((u32)ts->tv_nsec); >> }
Pointed to decode function change in previous email. Pasting encode function change also here:
static inline void ceph_encode_timespec(struct ceph_timespec *tv, - const struct timespec *ts) + const struct vfs_time *ts)
-Deepa
| |