Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
haven't merged inode_alloc_cursor yet

Signed-off-by: Kent Overstreet <[email protected]>
  • Loading branch information
Kent Overstreet committed Dec 4, 2024
1 parent 077677e commit 626b194
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bch_bindgen/src/bkey.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ pub enum BkeyValC<'a> {
logged_op_truncate(&'a c::bch_logged_op_truncate),
logged_op_finsert(&'a c::bch_logged_op_finsert),
accounting(&'a c::bch_accounting),
inode_alloc_cursor(&'a c::bch_inode_alloc_cursor),
}

impl<'a, 'b> BkeySC<'a> {
Expand Down Expand Up @@ -107,7 +106,6 @@ impl<'a, 'b> BkeySC<'a> {
KEY_TYPE_logged_op_truncate => logged_op_truncate(transmute(self.v)),
KEY_TYPE_logged_op_finsert => logged_op_finsert(transmute(self.v)),
KEY_TYPE_accounting => accounting(transmute(self.v)),
KEY_TYPE_inode_alloc_cursor => inode_alloc_cursor(transmute(self.v)),
KEY_TYPE_MAX => unreachable!(),
}
}
Expand Down

0 comments on commit 626b194

Please sign in to comment.