summaryrefslogtreecommitdiff
path: root/source4/torture/basic/delaywrite.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2013-12-03 17:22:19 -0800
committerKarolin Seeger <kseeger@samba.org>2013-12-10 18:19:42 +0100
commitc9b6d8cb5534512ade2ee5e731dddcac9832bbe3 (patch)
tree233ca417a2bc16a9b3073702d0512e3f5ebfabcb /source4/torture/basic/delaywrite.c
parente4404440db3e694a4988725765aa772cc86f2a07 (diff)
downloadsamba-c9b6d8cb5534512ade2ee5e731dddcac9832bbe3.tar.gz
smbd - allow updates on directory write times on open handles.
If we set a non-null 'old timestamp' in the share mode database when creating a directory handle, this prevents mtime (write time) updates from being seen by clients, as we will always return the timestamp stored in the database whilst the handle is open. For files this is ok, as we update the stored timestamp ourselves when we write to the handle. For directories we should just rely on the mtime value from the underlying filesystem. Torture test to follow. BUG: https://bugzilla.samba.org/show_bug.cgi?id=9870 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source4/torture/basic/delaywrite.c')
0 files changed, 0 insertions, 0 deletions