diff options
author | Andrew Tridgell <tridge@samba.org> | 2002-04-11 02:20:56 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2002-04-11 02:20:56 +0000 |
commit | 9cd0306baa1b3a78b40ab97b5d199b90a4c34aa6 (patch) | |
tree | de86987bf008f56bc1e4130add688bce45d11cf9 /source3/smbd/oplock.c | |
parent | d3fa6d5de64f022eafd99b83d4853c86f8b2f46c (diff) | |
download | samba-9cd0306baa1b3a78b40ab97b5d199b90a4c34aa6.tar.gz samba-9cd0306baa1b3a78b40ab97b5d199b90a4c34aa6.tar.bz2 samba-9cd0306baa1b3a78b40ab97b5d199b90a4c34aa6.zip |
This split the mangling code up to allow for the possibility of multiple
mangling implementation, selectable using "mangling method = " in smb.conf
It also tidies the interface a little, although it is still nasty.
(This used to be commit be23d87a178e7d0691e7d942adf89bb3d2d533c2)
Diffstat (limited to 'source3/smbd/oplock.c')
-rw-r--r-- | source3/smbd/oplock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c index c55c806a43..23606f1d14 100644 --- a/source3/smbd/oplock.c +++ b/source3/smbd/oplock.c @@ -831,7 +831,9 @@ static BOOL oplock_break(SMB_DEV_T dev, SMB_INO_T inode, unsigned long file_id, OPEN_FSP(fsp) && EXCLUSIVE_OPLOCK_TYPE(fsp->oplock_type)) { DEBUG(0,("oplock_break: client failure in oplock break in file %s\n", fsp->fsp_name)); remove_oplock(fsp,True); +#if FASCIST_OPLOCK_BACKOFF global_client_failed_oplock_break = True; /* Never grant this client an oplock again. */ +#endif } /* |