[PATCH] fix reading from inotify

Volker Lendecke Volker.Lendecke at SerNet.DE
Sat Sep 5 10:31:23 MDT 2009


On Sat, Sep 05, 2009 at 12:21:13PM -0400, simo wrote:
> attached find 2 patches.
> 0001 makes sure we do not loose errno before reporting on it.
> 0002 should fix a bug when reading from the inotify file descriptor
> returns a short read - bug #6693

Looks good, thanks.

I'd also print nt_errstr(status) in "Failed to read all
inotify data\n"

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20090905/6110974e/attachment.pgp>


More information about the samba-technical mailing list