vfs/glusterfs: in case atime is not passed, set it to the current atime
commitf4c8846b3ef82b286e3e71d77228b07caf3f8216
authorNiels de Vos <ndevos@redhat.com>
Fri, 10 Jan 2014 15:26:18 +0000 (10 16:26 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 17 Jan 2014 08:16:09 +0000 (17 09:16 +0100)
tree3d759ddf2470bb2422655a32bc641c674a7e11dc
parentd49d8b6dfc899c740930396ddd1964f0d9a8051c
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

Fix bug #10384 - [BACKPORT REQUEST] vfs/glusterfs: in case atime is not passed,
set it to the current atime.
source3/modules/vfs_glusterfs.c