ntdb: inline oob check
[kai/samba-autobuild/.git] / lib / ntdb / check.c
index 723e7b11bf0d66bf2f78794c3f46b33778994276..be27003a510d87bfa9802b7e5342883bc66597f8 100644 (file)
@@ -505,10 +505,9 @@ static enum NTDB_ERROR check_free(struct ntdb_context *ntdb,
 
        }
 
-       ecode = ntdb->io->oob(ntdb, off,
-                            frec_len(frec)
-                            + sizeof(struct ntdb_used_record),
-                            false);
+       ecode = ntdb_oob(ntdb, off,
+                        frec_len(frec) + sizeof(struct ntdb_used_record),
+                        false);
        if (ecode != NTDB_SUCCESS) {
                return ecode;
        }