Re: [PATCH 4/5] ceph: use timespec64 for r_mtime

From: Arnd Bergmann
Date: Thu Jun 21 2018 - 10:57:25 EST


On Thu, Jun 21, 2018 at 2:41 PM, Yan, Zheng <ukernel@xxxxxxxxx> wrote:
> On Wed, Jun 20, 2018 at 11:55 PM Arnd Bergmann <arnd@xxxxxxxx> wrote:

>> @@ -1013,7 +1013,7 @@ ceph_direct_read_write(struct kiocb *iocb, struct iov_iter *iter,
>> truncate_inode_pages_range(inode->i_mapping, pos,
>> (pos+len) | (PAGE_SIZE - 1));
>>
>> - req->r_mtime = mtime;
>> + req->r_mtime = current_time(inode);
> this change is not needed

Good catch, no idea how those two changes ended up in here, I'll
resend without them.

Thanks,

Arnd