summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-04-27 18:46:10 +0000
committerJeremy Allison <jra@samba.org>2000-04-27 18:46:10 +0000
commite3987ff7a638f9ea8b6794f1ed0df530d8488033 (patch)
tree699420ad5d125a75131eb8b02329770172ec7948 /source3/include/smb.h
parent3d9141d4156a3207af03d4137acd4b1cde46cfae (diff)
downloadsamba-e3987ff7a638f9ea8b6794f1ed0df530d8488033.tar.gz
samba-e3987ff7a638f9ea8b6794f1ed0df530d8488033.tar.bz2
samba-e3987ff7a638f9ea8b6794f1ed0df530d8488033.zip
Fixed crash bugs Andrew pointed out with LOCK4 smbtorture
test. Was miscounting posix locks, plus was not taking into account the case where other_fsp == fsp in the 'move locks' case. DOH ! This code will be re-written anyway :-). Jeremy. (This used to be commit 5278ec016cb24d8263fe6e7c1d389f466270ef24)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 1559143418..2e11d66729 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -489,7 +489,7 @@ typedef struct files_struct
time_t pending_modtime;
int oplock_type;
int sent_oplock_break;
- unsigned int num_posix_locks;
+ int num_posix_locks;
unsigned int num_posix_pending_closes;
int *posix_pending_close_fds;
BOOL can_lock;