diff options
Diffstat (limited to 'lib/dbwrap')
-rw-r--r-- | lib/dbwrap/dbwrap.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/dbwrap/dbwrap.h b/lib/dbwrap/dbwrap.h index 81c4974afb6..d289243f7a6 100644 --- a/lib/dbwrap/dbwrap.h +++ b/lib/dbwrap/dbwrap.h @@ -27,6 +27,10 @@ struct db_context; enum dbwrap_lock_order { DBWRAP_LOCK_ORDER_NONE = 0, /* Don't check lock orders for this db. */ + /* + * We only allow orders 1, 2, 3: + * These are the orders that CTDB currently supports. + */ DBWRAP_LOCK_ORDER_1 = 1, DBWRAP_LOCK_ORDER_2 = 2, DBWRAP_LOCK_ORDER_3 = 3 |