]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/tdb1_io.c
tdb2: add stats to tdb1 backend.
[ccan] / ccan / tdb2 / tdb1_io.c
index 8219e93046e373f96e6812771ee5813bfe226ce0..ba6deeef2069f7cbeb0f67d69f9446a84d672809 100644 (file)
@@ -307,6 +307,7 @@ static int tdb1_expand_file(struct tdb_context *tdb, tdb1_off_t size, tdb1_off_t
                addition -= written;
                size += written;
        }
+       tdb->stats.expands++;
        return 0;
 }