Split ctdb_release_lock() into a function to release the locvk and another function...
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Sat, 5 Jun 2010 05:38:11 +0000 (15:38 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Sat, 5 Jun 2010 05:38:11 +0000 (15:38 +1000)
commit463a266205f145cd9c4c36b9c59d3747eeef0e2e
tree6a95a6519e770ef032d57f43082743bc00ac2f7c
parent8fec60cb92d26886d853c918b8bc7931fec46469
Split ctdb_release_lock() into a function to release the locvk and another function to free the data structures.
This allows us to keep the datastructure valid after the lock has been released by the application and we can trap and warn when the application is accessing the lock after it has been released. I.e. application bugs.
include/ctdb.h
libctdb/ctdb.c
libctdb/tst.c