[PATCH] remove stat between reads

Jeremy Allison jra at samba.org
Wed Mar 27 09:51:54 MDT 2013


On Wed, Mar 27, 2013 at 04:39:06PM +0100, Volker Lendecke wrote:
> 
> Is the error return correct here? Don't we have to do a
> "goto strict_unlock" or something like that?

Great catch - thanks ! This is why I love code reviews :-).

Fixed patch attached.

Jeremy.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Optimization-suggested-by-Volker.-Don-t-do-a-stat-sy.patch
Type: text/x-diff
Size: 2217 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130327/ca5a2c09/attachment.patch>


More information about the samba-technical mailing list