From e3987ff7a638f9ea8b6794f1ed0df530d8488033 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 27 Apr 2000 18:46:10 +0000 Subject: 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) --- source3/include/smb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/include') 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; -- cgit