Ignore:
Timestamp:
Nov 12, 2012, 7:10:02 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.5: update branche to 3.5.18

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.5.x/source3/smbd/open.c

    r736 r738  
    895895}
    896896
    897 static bool is_delete_request(files_struct *fsp) {
    898         return ((fsp->access_mask == DELETE_ACCESS) &&
    899                 (fsp->oplock_type == NO_OPLOCK));
    900 }
    901 
    902897/*
    903898 * Send a break message to the oplock holder and delay the open for
     
    1003998
    1004999        if (exclusive != NULL) { /* Found an exclusive oplock */
    1005                 bool delay_it = is_delete_request(fsp) ?
    1006                                 BATCH_OPLOCK_TYPE(exclusive->op_type) : true;
    10071000                SMB_ASSERT(!have_level2);
    1008                 if (delay_it) {
    1009                         send_break_message(fsp, exclusive, mid, oplock_request);
    1010                         return true;
    1011                 }
     1001                send_break_message(fsp, exclusive, mid, oplock_request);
     1002                return true;
    10121003        }
    10131004
Note: See TracChangeset for help on using the changeset viewer.