vfs_stat called but ignored when client has dir open

Andrew Klaassen clawsoon at yahoo.com
Thu Apr 26 10:19:27 MDT 2012

--- On Mon, 4/23/12, Jeremy Allison <jra at samba.org> wrote:

> Ah ok. Now I recall (thanks for reminding me :-). We do it
> that was as it's the way Windows does it. We're caching
> the mtime (write time) inside the share mode entry.
> Look at the get_file_infos() call inside locking/locking.c,
> and the cached time data on the 'struct share_mode_lock'.
> You'll need to modify that if you want to affect mtime
> on an open file.

I've implemented a per-share config parameter that allows this behaviour to be overridden.  Would there be any interest in it?


More information about the samba-technical mailing list