mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
tdb: Apply some const, just for clarity
(Imported from commit 6824c6f46ba7c15e8af91d5aa8b21a946b63107b) (This used to be ctdb commit 8b0a8a96edf8611257e58ea81ed872dc03ca5da6)
This commit is contained in:
parent
e552df6fa6
commit
9f003c2b54
@ -596,7 +596,7 @@ int _tdb_transaction_cancel(struct tdb_context *tdb)
|
||||
|
||||
if (tdb->transaction->magic_offset) {
|
||||
const struct tdb_methods *methods = tdb->transaction->io_methods;
|
||||
uint32_t invalid = TDB_RECOVERY_INVALID_MAGIC;
|
||||
const uint32_t invalid = TDB_RECOVERY_INVALID_MAGIC;
|
||||
|
||||
/* remove the recovery marker */
|
||||
if (methods->tdb_write(tdb, tdb->transaction->magic_offset, &invalid, 4) == -1 ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user