author: Desmond Cheong Zhi Xi <desmondcheongzx@gmail.com> 2021-07-14 21:27:08 -0700
committer: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2021-07-31 08:13:46 +0200
commit: ca03de06def9ae2f15c5d833d484d90e4428f2c6
parent: 8a2d2974d002d0a98c5545c18e0bb3871acd03a7
Commit Summary:
Diffstat:
1 file changed, 7 insertions, 0 deletions
diff --git a/fs/hfs/btree.h b/fs/hfs/btree.h
index 4ba45caf5939..0e6baee93245 100644
--- a/fs/hfs/btree.h
+++ b/fs/hfs/btree.h
@@ -13,6 +13,13 @@ typedef int (*btree_keycmp)(const btree_key *, const btree_key *);
#define NODE_HASH_SIZE 256
+/* B-tree mutex nested subclasses */
+enum hfs_btree_mutex_classes {
+ CATALOG_BTREE_MUTEX,
+ EXTENTS_BTREE_MUTEX,
+ ATTR_BTREE_MUTEX,
+};
+
/* A HFS BTree held in memory */
struct hfs_btree {
struct super_block *sb;