]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/buckets_waiting_for_journal_types.h
move Rust sources to top level, C sources into c_src
[bcachefs-tools-debian] / libbcachefs / buckets_waiting_for_journal_types.h
diff --git a/libbcachefs/buckets_waiting_for_journal_types.h b/libbcachefs/buckets_waiting_for_journal_types.h
deleted file mode 100644 (file)
index e593db0..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef _BUCKETS_WAITING_FOR_JOURNAL_TYPES_H
-#define _BUCKETS_WAITING_FOR_JOURNAL_TYPES_H
-
-#include <linux/siphash.h>
-
-struct bucket_hashed {
-       u64                     dev_bucket;
-       u64                     journal_seq;
-};
-
-struct buckets_waiting_for_journal_table {
-       unsigned                bits;
-       u64                     hash_seeds[3];
-       struct bucket_hashed    d[];
-};
-
-struct buckets_waiting_for_journal {
-       struct mutex            lock;
-       struct buckets_waiting_for_journal_table *t;
-};
-
-#endif /* _BUCKETS_WAITING_FOR_JOURNAL_TYPES_H */