diff options
author | Michael Adam <obnox@samba.org> | 2014-01-27 17:34:31 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-02-07 16:06:07 +0100 |
commit | c7961ee4953dbcc8c45790d3c92fe3172e924f47 (patch) | |
tree | a6edc71b553e6c55034001eaca268cbab49409b6 /source3/lib/dbwrap/dbwrap_open.c | |
parent | 99140170a587102493e9f073145ba941987d01d3 (diff) | |
download | samba-c7961ee4953dbcc8c45790d3c92fe3172e924f47.tar.gz samba-c7961ee4953dbcc8c45790d3c92fe3172e924f47.tar.xz samba-c7961ee4953dbcc8c45790d3c92fe3172e924f47.zip |
dbwrap: completely check validity of lock order in dbwrap_check_lock_order()
This is currently not strictly necessay, because the
only caller catches the DBWRAP_LOCK_ORDER_NONE case,
and maximum is already checked, but this seems too dangerous to me.
Use the new DBWRAP_LOCK_ORDER_VALID() macro.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/lib/dbwrap/dbwrap_open.c')
0 files changed, 0 insertions, 0 deletions