summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srvsvc
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-09-10 19:40:43 +0200
committerVolker Lendecke <vl@samba.org>2013-09-11 08:27:11 +0200
commit6bcfc1a9daad1432c45db816d32ac5076f748e81 (patch)
tree6d35ab6fd9d9b9ebc403eac41926cb8662a093ba /source3/rpc_server/srvsvc
parent635c35dc8d0d7e9ee7f0a850552564896b7342d9 (diff)
downloadsamba-6bcfc1a9daad1432c45db816d32ac5076f748e81.tar.gz
samba-6bcfc1a9daad1432c45db816d32ac5076f748e81.tar.bz2
samba-6bcfc1a9daad1432c45db816d32ac5076f748e81.zip
smbd: Add brl_num_locks access function
Diffstat (limited to 'source3/rpc_server/srvsvc')
-rw-r--r--source3/rpc_server/srvsvc/srv_srvsvc_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srvsvc/srv_srvsvc_nt.c b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c
index 3d4ee22ea1..22737e858c 100644
--- a/source3/rpc_server/srvsvc/srv_srvsvc_nt.c
+++ b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c
@@ -106,7 +106,7 @@ static void enum_file_fn( const struct share_mode_entry *e,
fsp.file_id = e->id;
if ( (brl = brl_get_locks(talloc_tos(), &fsp)) != NULL ) {
- num_locks = brl->num_locks;
+ num_locks = brl_num_locks(brl);
TALLOC_FREE(brl);
}