]> git.ipfire.org Git - thirdparty/samba.git/commit
smbd: remove stat call from mark_file_modified()
authorRalph Boehme <slow@samba.org>
Sun, 15 Mar 2020 14:51:18 +0000 (15:51 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 19 Mar 2020 01:20:34 +0000 (01:20 +0000)
commit2c19d27113036d607850f370bb9afd62856d671e
tree6b0d51377d0bdfeb920d5e582409313e2afc1026
parent6f7d1d8a37bfb877b3f07423cbcffd15710e8d08
smbd: remove stat call from mark_file_modified()

This stat dates back to d03453864ab1bc5fd3b4a3abaf96176a006c102b where the call
to trigger_write_time_update() had been to the file IO codepath. It was present
there for other reasons: to setup the write-cache based on the file's size.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14320

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/fileio.c