vfs/glusterfs: in case atime is not passed, set it to the current atime
authorNiels de Vos <ndevos@redhat.com>
Fri, 10 Jan 2014 15:26:18 +0000 (16:26 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 15 Jan 2014 20:31:30 +0000 (21:31 +0100)
commit276c1616cf06741b69e06519ea61c874a686c716
treec11867a873a0244d6ec22069932a6646b1e85416
parent0f9a189e36d8e30dfd40e42130329a0984938ddd
vfs/glusterfs: in case atime is not passed, set it to the current atime

The Linux CIFS client does not pass an updated atime when a write() is
done. This causes the vfs/glusterfs module to set the atime to -1 on the
Gluster backend, resulting in an atime far in the future (year 2106).

Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-by: Ira Cooper <ira@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jan 15 21:31:30 CET 2014 on sn-devel-104
source3/modules/vfs_glusterfs.c