summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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 fc6a94c5e8..6ced3c2c39 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -1355,7 +1355,7 @@ static bool file_has_brlocks(files_struct *fsp)
if (!br_lck)
return false;
- return br_lck->num_locks > 0 ? true : false;
+ return (br_lck->num_locks > 0);
}
static void grant_fsp_oplock_type(files_struct *fsp,