From d6eebce490cfa7b17f9ca2779744db2924f1d165 Mon Sep 17 00:00:00 2001 From: James Peach Date: Wed, 15 Mar 2006 05:49:32 +0000 Subject: r14428: Call fill_share_mode_entry with NO_OPLOCK instead of 0. (This used to be commit a39cbaa699d111264c2c9dda49a6e4f42acd3fb8) --- source3/locking/locking.c | 6 +++--- 1 file 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) { -- cgit