Ignore:
Timestamp:
Oct 30, 2009, 9:39:05 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.3 to 3.3.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/smbd/notify_inotify.c

    r206 r342  
    233233        struct inotify_event *e0, *e;
    234234        uint32_t prev_cookie=0;
     235        NTSTATUS status;
    235236
    236237        /*
     
    248249        if (e == NULL) return;
    249250
    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)));
    252255                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);
    253259                return;
    254260        }
Note: See TracChangeset for help on using the changeset viewer.