From: Rusty Russell Date: Tue, 1 Mar 2011 12:49:18 +0000 (+1030) Subject: tdb2: allow read-only databases to use locking. X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=a39bf3aca1b60365efaf8b1eeb2b2c58b09ffab6;hp=a39bf3aca1b60365efaf8b1eeb2b2c58b09ffab6;p=ccan tdb2: allow read-only databases to use locking. You can always specify the TDB_NOLOCK flag along with O_RDONLY for the old behaviour. ---