summaryrefslogtreecommitdiff
path: root/source3/smbd/close.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-04-22 01:12:54 +0000
committerJeremy Allison <jra@samba.org>2003-04-22 01:12:54 +0000
commit6fc28bceb715039ec893861860b536b3cb201f88 (patch)
tree54dd079e64e9371c75e22e6b94e31eb25c8a08b5 /source3/smbd/close.c
parent8d5d0947260e260433f97dad71f640b04a3187b0 (diff)
downloadsamba-6fc28bceb715039ec893861860b536b3cb201f88.tar.gz
samba-6fc28bceb715039ec893861860b536b3cb201f88.tar.bz2
samba-6fc28bceb715039ec893861860b536b3cb201f88.zip
Tidyups of some dubious logic discovered whilst trying to track down a
strange oplock related issue on the PSA. Jeremy. (This used to be commit f8021af2a7b790e739a7ecc67c908289b0a9b719)
Diffstat (limited to 'source3/smbd/close.c')
-rw-r--r--source3/smbd/close.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/close.c b/source3/smbd/close.c
index 9cb191c4e2..5cca85500f 100644
--- a/source3/smbd/close.c
+++ b/source3/smbd/close.c
@@ -201,7 +201,7 @@ with error %s\n", fsp->fsp_name, strerror(errno) ));
unlock_share_entry_fsp(fsp);
- if(EXCLUSIVE_OPLOCK_TYPE(fsp->oplock_type))
+ if(fsp->oplock_type)
release_file_oplock(fsp);
locking_close_file(fsp);