diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-14 07:17:13 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-14 07:17:13 +0930 |
commit | 73e4f35e3d4dd7043a140355e4cd0f10f54c7337 (patch) | |
tree | 193cd02c733346d5db787d62a08193e602f7717d /lib/addns/error.c | |
parent | bdc5499205367eccef5700cba8af95ba941ac9b2 (diff) | |
download | samba-73e4f35e3d4dd7043a140355e4cd0f10f54c7337.tar.gz samba-73e4f35e3d4dd7043a140355e4cd0f10f54c7337.tar.bz2 samba-73e4f35e3d4dd7043a140355e4cd0f10f54c7337.zip |
tdb_compat: make tdb2s temporarily read-only for tdb_traverse_read()
It doesn't make a difference unless the tdb2 opens a TDB1 on disk, in
which case tdb1_traverse() takes a write lock on the entire file. By
setting the tdb to read-only first, we simulate the old behaviour.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/addns/error.c')
0 files changed, 0 insertions, 0 deletions