summaryrefslogtreecommitdiff
path: root/lib/tdb2/tdb1_open.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-09-14 07:39:13 +0930
committerRusty Russell <rusty@rustcorp.com.au>2011-09-14 07:39:13 +0930
commit88ce92b92efe12f8a7364eb1786d73ec8ecd7884 (patch)
treef6fa74c2f88ec480826200a6557c72188c0f79d9 /lib/tdb2/tdb1_open.c
parentbdd46e4513c7157a67408fcbd1e24b822cdbb960 (diff)
downloadsamba-88ce92b92efe12f8a7364eb1786d73ec8ecd7884.tar.gz
samba-88ce92b92efe12f8a7364eb1786d73ec8ecd7884.tar.bz2
samba-88ce92b92efe12f8a7364eb1786d73ec8ecd7884.zip
tdb2: suppress tdb1 backend logging when locking returns EINTR or EAGAIN
The TDB1 code logs multiple times on errors; we must prevent that in the limited case where locking fails. With TDB2, this can happen due to the lock function attribute, where the user supplies replacement locking functions which are allowed to return with errno EAGAIN or EINTR for various special-effects. Flooding the logs for this is unfriendly. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit a391b2b900bc6d5c0467869a454bdb5c51b5a3be)
Diffstat (limited to 'lib/tdb2/tdb1_open.c')
0 files changed, 0 insertions, 0 deletions