diff options
author | Volker Lendecke <vl@samba.org> | 2013-09-11 16:07:33 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-10-15 01:52:29 +0200 |
commit | fcafaf6022832835fc8fa76a4c33056605dc53e4 (patch) | |
tree | b9da13ff8580780efff786c9eff37b599b6fa9bb /source3/smbd/files.c | |
parent | eb50c18c4a2d0caa3b8d21b2e1b536adc8dc0276 (diff) | |
download | samba-fcafaf6022832835fc8fa76a4c33056605dc53e4.tar.gz |
smbd: Remove FAKE_LEVEL_II_OPLOCK
FAKE_LEVEL_II_OPLOCK was an indicator to break level2 oplock holders
on write. This information is now being held in brlock.tdb, which makes
the FAKE_LEVEL_II_OPLOCK type unnecessary.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/files.c')
-rw-r--r-- | source3/smbd/files.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/files.c b/source3/smbd/files.c index d94ee119527..c64c84173cf 100644 --- a/source3/smbd/files.c +++ b/source3/smbd/files.c @@ -318,8 +318,7 @@ files_struct *file_find_dif(struct smbd_server_connection *sconn, } /* Paranoia check. */ if ((fsp->fh->fd == -1) && - (fsp->oplock_type != NO_OPLOCK) && - (fsp->oplock_type != FAKE_LEVEL_II_OPLOCK)) { + (fsp->oplock_type != NO_OPLOCK)) { DEBUG(0,("file_find_dif: file %s file_id = " "%s, gen = %u oplock_type = %u is a " "stat open with oplock type !\n", |