From 36db78fedad935aaa689d52d7f58e075f1f71812 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 27 Apr 2000 22:23:04 +0000 Subject: Fixed subtle unlocking bug when a file is closed. We need to store the smbpid used when a file was opened in the files_struct. Else we use the wrong global_smbpid when we are closing the file and trying to remove the brl locks - this causes the brl locks to be left when the file is closed as the samba_context check fails. Jeremy. (This used to be commit 2746e5602e493e5b022764b4b839eb4d2f14363b) --- source3/include/smb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include') diff --git a/source3/include/smb.h b/source3/include/smb.h index 6a3964e0f3..e4415e7d22 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -482,6 +482,7 @@ typedef struct files_struct SMB_OFF_T size; mode_t mode; uint16 vuid; + int smbpid; write_bmpx_struct *wbmpx_ptr; write_cache *wcp; struct timeval open_time; -- cgit