Changeset 342 for branches/samba-3.3.x/source/smbd/notify_inotify.c
- Timestamp:
- Oct 30, 2009, 9:39:05 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/smbd/notify_inotify.c
r206 r342 233 233 struct inotify_event *e0, *e; 234 234 uint32_t prev_cookie=0; 235 NTSTATUS status; 235 236 236 237 /* … … 248 249 if (e == NULL) return; 249 250 250 if (sys_read(in->fd, e0, bufsize) != bufsize) { 251 DEBUG(0,("Failed to read all inotify data\n")); 251 status = read_data(in->fd, (char *)e0, bufsize); 252 if (!NT_STATUS_IS_OK(status)) { 253 DEBUG(0,("Failed to read all inotify data - %s\n", 254 nt_errstr(status))); 252 255 talloc_free(e0); 256 /* the inotify fd will now be out of sync, 257 * can't keep reading data off it */ 258 TALLOC_FREE(fde); 253 259 return; 254 260 }
Note:
See TracChangeset
for help on using the changeset viewer.