xref: /linux/fs/bcachefs/extent_update.h (revision 409c38d4f156740bf3165fd6ceae4fa6425eebf4)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _BCACHEFS_EXTENT_UPDATE_H
3 #define _BCACHEFS_EXTENT_UPDATE_H
4 
5 #include "bcachefs.h"
6 
7 int bch2_extent_atomic_end(struct btree_trans *, struct btree_iter *,
8 			   struct bkey_i *, struct bpos *);
9 int bch2_extent_trim_atomic(struct btree_trans *, struct btree_iter *,
10 			    struct bkey_i *);
11 
12 #endif /* _BCACHEFS_EXTENT_UPDATE_H */
13