summaryrefslogtreecommitdiffstats
path: root/lib/tdb/common/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tdb/common/io.c')
-rw-r--r--lib/tdb/common/io.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/tdb/common/io.c b/lib/tdb/common/io.c
index 07d22ccdb2..fe47d18a5a 100644
--- a/lib/tdb/common/io.c
+++ b/lib/tdb/common/io.c
@@ -29,7 +29,8 @@
#include "tdb_private.h"
/*
- * tdb->hdr_ofs is 0 for now.
+ * We prepend the mutex area, so fixup offsets. See mutex.c for details.
+ * tdb->hdr_ofs is 0 or header.mutex_size.
*
* Note: that we only have the 4GB limit of tdb_off_t for
* tdb->map_size. The file size on disk can be 4GB + tdb->hdr_ofs!