summaryrefslogtreecommitdiff
path: root/source3/smbd
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/smbd
parent635c35dc8d0d7e9ee7f0a850552564896b7342d9 (diff)
downloadsamba-6bcfc1a9daad1432c45db816d32ac5076f748e81.tar.gz
samba-6bcfc1a9daad1432c45db816d32ac5076f748e81.tar.bz2
samba-6bcfc1a9daad1432c45db816d32ac5076f748e81.zip
smbd: Add brl_num_locks access function
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index b9618b41dc..1a86233fd9 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -1368,7 +1368,7 @@ static bool file_has_brlocks(files_struct *fsp)
if (!br_lck)
return false;
- return (br_lck->num_locks > 0);
+ return (brl_num_locks(br_lck) > 0);
}
static void grant_fsp_oplock_type(files_struct *fsp,