diff options
author | Simo Sorce <idra@samba.org> | 2009-09-05 10:18:12 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2009-09-05 12:49:26 -0400 |
commit | affed02ef67b495e8785a56545d15eff96d7a749 (patch) | |
tree | 18d2e389dd4e4160d9f282023f59c0a6939cf88e /source4 | |
parent | bc081cf0cc41ad8da24cc60c27ab7c7931d60c55 (diff) | |
download | samba-affed02ef67b495e8785a56545d15eff96d7a749.tar.gz samba-affed02ef67b495e8785a56545d15eff96d7a749.tar.bz2 samba-affed02ef67b495e8785a56545d15eff96d7a749.zip |
Check we read off the compelte event from inotify
The kernel may return a short read, so we must use read_data() to make sure we
read off the full buffer. If somethign bad happens we also need to kill the
inotify watch because the filedescriptor will return out of sync structures if
we read only part of the data.
Diffstat (limited to 'source4')
0 files changed, 0 insertions, 0 deletions