diff options
author | James Peach <jpeach@samba.org> | 2006-03-15 05:49:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:15:30 -0500 |
commit | d6eebce490cfa7b17f9ca2779744db2924f1d165 (patch) | |
tree | 12ac3465740abbdf0179d4454ca9de975f55ee6d /source3/locking | |
parent | 8723178048f3b98938476c41679d46ed1f809515 (diff) | |
download | samba-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)
Diffstat (limited to 'source3/locking')
-rw-r--r-- | source3/locking/locking.c | 6 |
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) { |