vfs_stat called but ignored when client has dir open

Andrew Klaassen clawsoon at yahoo.com
Tue Apr 24 08:15:20 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.

Thanks for the tip.  I'll take a look through that code to see what can be done.


More information about the samba-technical mailing list