tdb_compat: Higher level API fixes.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 20 Jun 2011 09:10:33 +0000 (18:40 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 20 Jun 2011 09:18:35 +0000 (11:18 +0200)
commitd925b327f4703cc141c0a7f3eec912dba8440880
treea9d190b375dcae03863591d8f31688dc949fa3eb
parentca1936fbb26af0ee8d0421ae6a4e07a0f62311d9
tdb_compat: Higher level API fixes.

My previous patches fixed up all direct TDB callers, but there are a
few utility functions and the db_context functions which are still
using the old -1 / 0 return codes.

It's clearer to fix up all the callers of these too, so everywhere is
consistent: non-zero means an error.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
22 files changed:
lib/util/util_tdb.c
lib/util/util_tdb.h
source3/lib/dbwrap_tdb.c
source3/lib/dbwrap_util.c
source3/lib/eventlog/eventlog.c
source3/lib/server_mutex.c
source3/lib/serverid.c
source3/lib/tdb_validate.c
source3/lib/util.c
source3/lib/util_tdb.c
source3/locking/brlock.c
source3/locking/locking.c
source3/modules/nfs4_acls.c
source3/modules/vfs_acl_tdb.c
source3/modules/vfs_xattr_tdb.c
source3/passdb/login_cache.c
source3/printing/notify.c
source3/printing/printing.c
source3/smbd/notify_internal.c
source3/torture/torture.c
source3/utils/net_idmap_check.c
source3/winbindd/winbindd_cache.c