diff options
author | Jeremy Allison <jra@samba.org> | 2006-07-31 20:58:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:38:27 -0500 |
commit | 49001a5b1b07e9a24e5f7efa0dfd880772bdb435 (patch) | |
tree | e53c1521682d856eb44791dd5be2eaeae98ae9fa /source3/rpc_server | |
parent | fd8bae8b1660acefd327121ef3d8a356cb0c09fa (diff) | |
download | samba-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/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_srvsvc_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c index de3148aae8..609c819a7d 100644 --- a/source3/rpc_server/srv_srvsvc_nt.c +++ b/source3/rpc_server/srv_srvsvc_nt.c @@ -152,7 +152,7 @@ static void enum_file_fn( const struct share_mode_entry *e, fsp.dev = e->dev; fsp.inode = e->inode; - if ( (brl = brl_get_locks(NULL,&fsp)) != NULL ) { + if ( (brl = brl_get_locks_readonly(NULL,&fsp)) != NULL ) { num_locks = brl->num_locks; TALLOC_FREE( brl ); } |