Changeset 738 for branches/samba-3.5.x/source3/smbd/open.c
- Timestamp:
- Nov 12, 2012, 7:10:02 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.5.x/source3/smbd/open.c
r736 r738 895 895 } 896 896 897 static bool is_delete_request(files_struct *fsp) {898 return ((fsp->access_mask == DELETE_ACCESS) &&899 (fsp->oplock_type == NO_OPLOCK));900 }901 902 897 /* 903 898 * Send a break message to the oplock holder and delay the open for … … 1003 998 1004 999 if (exclusive != NULL) { /* Found an exclusive oplock */ 1005 bool delay_it = is_delete_request(fsp) ?1006 BATCH_OPLOCK_TYPE(exclusive->op_type) : true;1007 1000 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; 1012 1003 } 1013 1004
Note:
See TracChangeset
for help on using the changeset viewer.