summaryrefslogtreecommitdiffstats
path: root/source3/include/locking.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-07-17 21:09:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:11 -0500
commite1da1fcf12164f50f3462c90f0bb785d18c59b0b (patch)
tree8df81a6c947a609249d67188c3a5dbebbdee0984 /source3/include/locking.h
parent4c713703d046f756989e7eb901e884829825593c (diff)
downloadsamba-e1da1fcf12164f50f3462c90f0bb785d18c59b0b.tar.gz
samba-e1da1fcf12164f50f3462c90f0bb785d18c59b0b.tar.xz
samba-e1da1fcf12164f50f3462c90f0bb785d18c59b0b.zip
r17098: Samba3 now cleanly passes Samba4 RAW-LOCK torture
test. Phew - that was painful :-). But what it means is that we now implement lock cancels and I can add lock cancels into POSIX lock handling which will fix the fast/slow system call issue with cifsfs ! Jeremy. (This used to be commit f1a9cf075b87c76c032d19da0168424c90f6cb3c)
Diffstat (limited to 'source3/include/locking.h')
-rw-r--r--source3/include/locking.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/include/locking.h b/source3/include/locking.h
index 983d59a853..8eabb305f7 100644
--- a/source3/include/locking.h
+++ b/source3/include/locking.h
@@ -45,8 +45,10 @@ struct lock_key {
SMB_INO_T inode;
};
+struct files_struct;
+
struct byte_range_lock {
- files_struct *fsp;
+ struct files_struct *fsp;
unsigned int num_locks;
BOOL modified;
struct lock_key key;