summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-07-31 20:58:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:27 -0500
commit49001a5b1b07e9a24e5f7efa0dfd880772bdb435 (patch)
treee53c1521682d856eb44791dd5be2eaeae98ae9fa /source3/include
parentfd8bae8b1660acefd327121ef3d8a356cb0c09fa (diff)
downloadsamba-49001a5b1b07e9a24e5f7efa0dfd880772bdb435.tar.gz
samba-49001a5b1b07e9a24e5f7efa0dfd880772bdb435.tar.bz2
samba-49001a5b1b07e9a24e5f7efa0dfd880772bdb435.zip
r17346: Add optimisation vl needs for the cluster code where
we don't get the chainlock when getting the byte range lock record read-only. Jeremy. (This used to be commit fcd798ca0c1b76adb2bcda4a99c40c7aacb0addb)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/locking.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/locking.h b/source3/include/locking.h
index a09e7d1aff..4b3b10d736 100644
--- a/source3/include/locking.h
+++ b/source3/include/locking.h
@@ -55,6 +55,7 @@ struct byte_range_lock {
struct files_struct *fsp;
unsigned int num_locks;
BOOL modified;
+ BOOL read_only;
struct lock_key key;
void *lock_data;
};