diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-14 07:15:13 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-14 07:15:13 +0930 |
commit | 37c704be0af3b5915e6630264dc4379309d83160 (patch) | |
tree | 6afc656aeb0adc3031278fbd33a9e853a4780915 /lib/tdb2/lock.c | |
parent | 2cf3f7c07499f565101e1bcb835c73fc297ea72e (diff) | |
download | samba-37c704be0af3b5915e6630264dc4379309d83160.tar.gz samba-37c704be0af3b5915e6630264dc4379309d83160.tar.bz2 samba-37c704be0af3b5915e6630264dc4379309d83160.zip |
tdb2: return TDB_ERR_RDONLY if trying to start a transaction on a R/O tdb.
This is more accurate than returning TDB_ERR_EINVAL.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(Imported from CCAN commit 91436a25574597dbd1fd2de5bcd5826a234100d6)
Diffstat (limited to 'lib/tdb2/lock.c')
0 files changed, 0 insertions, 0 deletions