summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2006-03-15 05:49:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:30 -0500
commitd6eebce490cfa7b17f9ca2779744db2924f1d165 (patch)
tree12ac3465740abbdf0179d4454ca9de975f55ee6d
parent8723178048f3b98938476c41679d46ed1f809515 (diff)
downloadsamba-d6eebce490cfa7b17f9ca2779744db2924f1d165.tar.gz
samba-d6eebce490cfa7b17f9ca2779744db2924f1d165.tar.bz2
samba-d6eebce490cfa7b17f9ca2779744db2924f1d165.zip
r14428: Call fill_share_mode_entry with NO_OPLOCK instead of 0.
(This used to be commit a39cbaa699d111264c2c9dda49a6e4f42acd3fb8)
-rw-r--r--source3/locking/locking.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index 076f8a4969..5cb1f71555 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -982,7 +982,7 @@ BOOL del_share_mode(struct share_mode_lock *lck, files_struct *fsp)
{
struct share_mode_entry entry, *e;
- fill_share_mode_entry(&entry, fsp, 0, 0);
+ fill_share_mode_entry(&entry, fsp, 0, NO_OPLOCK);
e = find_share_mode_entry(lck, &entry);
if (e == NULL) {
@@ -1018,7 +1018,7 @@ BOOL remove_share_oplock(struct share_mode_lock *lck, files_struct *fsp)
{
struct share_mode_entry entry, *e;
- fill_share_mode_entry(&entry, fsp, 0, 0);
+ fill_share_mode_entry(&entry, fsp, 0, NO_OPLOCK);
e = find_share_mode_entry(lck, &entry);
if (e == NULL) {
@@ -1039,7 +1039,7 @@ BOOL downgrade_share_oplock(struct share_mode_lock *lck, files_struct *fsp)
{
struct share_mode_entry entry, *e;
- fill_share_mode_entry(&entry, fsp, 0, 0);
+ fill_share_mode_entry(&entry, fsp, 0, NO_OPLOCK);
e = find_share_mode_entry(lck, &entry);
if (e == NULL) {