mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
r8545: Fix oplock bug introduced by oplock code "simplification" :-).
We *always* reply to an exclusive oplock break message even if we have no record of the oplock (and we always did before 3.0.20pre2). Jeremy. (This used to be commit b1a94aadf25e94dcc168ea3a5ae008f4e84ff296)
This commit is contained in:
parent
ef0e98b757
commit
8ebef3f4c8
@ -461,12 +461,12 @@ pid %d, port %d, dev = %x, inode = %.0f, file_id = %lu\n",
|
||||
*/
|
||||
DEBUG(3,("process_local_message: oplock break requested with "
|
||||
"no outstanding oplocks. Returning success.\n"));
|
||||
return True;
|
||||
}
|
||||
|
||||
if (!oplock_break(dev, inode, file_id, False)) {
|
||||
DEBUG(0,("process_local_message: oplock break failed.\n"));
|
||||
return False;
|
||||
} else {
|
||||
if (!oplock_break(dev, inode, file_id, False)) {
|
||||
DEBUG(0,("process_local_message: oplock break failed.\n"));
|
||||
return False;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user