deleted file mode 100644
@@ -1,24 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright (C) 2018 Oracle. All Rights Reserved.
- * Author: Darrick J. Wong <darrick.wong@oracle.com>
- */
-#ifndef LIBFROG_BITMAP_H_
-#define LIBFROG_BITMAP_H_
-
-struct bitmap {
- pthread_mutex_t bt_lock;
- struct avl64tree_desc *bt_tree;
-};
-
-int bitmap_init(struct bitmap **bmap);
-void bitmap_free(struct bitmap **bmap);
-int bitmap_set(struct bitmap *bmap, uint64_t start, uint64_t length);
-int bitmap_iterate(struct bitmap *bmap, int (*fn)(uint64_t, uint64_t, void *),
- void *arg);
-bool bitmap_test(struct bitmap *bmap, uint64_t start,
- uint64_t len);
-bool bitmap_empty(struct bitmap *bmap);
-void bitmap_dump(struct bitmap *bmap);
-
-#endif /* LIBFROG_BITMAP_H_ */
@@ -30,6 +30,7 @@ workqueue.c
HFILES = \
avl64.h \
bulkstat.h \
+bitmap.h \
crc32defs.h \
crc32table.h \
topology.h
new file mode 100644
@@ -0,0 +1,24 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2018 Oracle. All Rights Reserved.
+ * Author: Darrick J. Wong <darrick.wong@oracle.com>
+ */
+#ifndef __LIBFROG_BITMAP_H__
+#define __LIBFROG_BITMAP_H__
+
+struct bitmap {
+ pthread_mutex_t bt_lock;
+ struct avl64tree_desc *bt_tree;
+};
+
+int bitmap_init(struct bitmap **bmap);
+void bitmap_free(struct bitmap **bmap);
+int bitmap_set(struct bitmap *bmap, uint64_t start, uint64_t length);
+int bitmap_iterate(struct bitmap *bmap, int (*fn)(uint64_t, uint64_t, void *),
+ void *arg);
+bool bitmap_test(struct bitmap *bmap, uint64_t start,
+ uint64_t len);
+bool bitmap_empty(struct bitmap *bmap);
+void bitmap_dump(struct bitmap *bmap);
+
+#endif /* __LIBFROG_BITMAP_H__ */
@@ -12,7 +12,7 @@
#include "dinode.h"
#include "slab.h"
#include "rmap.h"
-#include "bitmap.h"
+#include "libfrog/bitmap.h"
#undef RMAP_DEBUG
@@ -12,7 +12,7 @@
#include "workqueue.h"
#include "xfs_scrub.h"
#include "common.h"
-#include "bitmap.h"
+#include "libfrog/bitmap.h"
#include "disk.h"
#include "filemap.h"
#include "fscounters.h"