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 | a39cbaa699d111264c2c9dda49a6e4f42acd3fb8 (patch) | |
tree | e8c768c5dddd97f25feade30d2401e604d529cab /source/locking/locking.c | |
parent | f54d911e686ffd68ddc6dbc073987b9d8eb2fa5b (diff) | |
download | samba-a39cbaa699d111264c2c9dda49a6e4f42acd3fb8.tar.gz samba-a39cbaa699d111264c2c9dda49a6e4f42acd3fb8.tar.xz samba-a39cbaa699d111264c2c9dda49a6e4f42acd3fb8.zip |
r14428: Call fill_share_mode_entry with NO_OPLOCK instead of 0.
Diffstat (limited to 'source/locking/locking.c')
-rw-r--r-- | source/locking/locking.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/locking/locking.c b/source/locking/locking.c index 076f8a49697..5cb1f71555d 100644 --- a/source/locking/locking.c +++ b/source/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) { |