vfs_stat called but ignored when client has dir open

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Apr 23 14:04:16 MDT 2012


On Mon, Apr 23, 2012 at 11:41:32AM -0700, Jeremy Allison wrote:
> On Mon, Apr 23, 2012 at 11:00:25AM -0700, Andrew Klaassen wrote:
> > I've got a VFS stat function that replaces the mtime on a directory with the mtime from another directory.  It works as designed except when the client has the directory open in another window.  In that case, the VFS function does the right thing, but its result is ignored and the client always gets the mtime that the directory had when the client first opened it.
> > 
> > Is this a feature, a bug, or me screwing something up?
> 
> Try catching the VFS_FSTAT function as well as the VFS_STAT.
> 
> That might be the problem.

delayed write time in the locking.tdb? The old excel problem?

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list