diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-07-17 00:41:48 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:08 -0400 |
commit | 4dc5bb9adf3035246e77d5e9cf7931b8af0fcaac (patch) | |
tree | f5a47326d5bb59502a76b00e37281029b4c54376 /fs/bcachefs/inode.h | |
parent | 9d8a3c95dce626d4d792228dead1edbf3251dda6 (diff) |
bcachefs: move inode triggers to inode.c
bit of reorg
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/inode.h')
-rw-r--r-- | fs/bcachefs/inode.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/bcachefs/inode.h b/fs/bcachefs/inode.h index 8f9be5e58381..7809d1b6d7a2 100644 --- a/fs/bcachefs/inode.h +++ b/fs/bcachefs/inode.h @@ -16,6 +16,11 @@ int bch2_inode_v3_invalid(const struct bch_fs *, struct bkey_s_c, enum bkey_invalid_flags, struct printbuf *); void bch2_inode_to_text(struct printbuf *, struct bch_fs *, struct bkey_s_c); +int bch2_trans_mark_inode(struct btree_trans *, enum btree_id, unsigned, + struct bkey_s_c, struct bkey_i *, unsigned); +int bch2_mark_inode(struct btree_trans *, enum btree_id, unsigned, + struct bkey_s_c, struct bkey_s_c, unsigned); + #define bch2_bkey_ops_inode ((struct bkey_ops) { \ .key_invalid = bch2_inode_invalid, \ .val_to_text = bch2_inode_to_text, \ |