Re: [RFC v2a 11/12] net: ceph: use vfs_time data type instead of timespec

From: Deepa Dinamani
Date: Sat Feb 13 2016 - 21:06:11 EST


>> 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