From 49001a5b1b07e9a24e5f7efa0dfd880772bdb435 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 31 Jul 2006 20:58:02 +0000 Subject: 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) --- source3/include/locking.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include') 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; }; -- cgit