diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-07-18 17:21:21 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:24 -0400 |
commit | b1c9358a25eb0ed94c5bfc18ba5f9b00d51d8863 (patch) | |
tree | dfa934ae73d01391ac47485d04c6c99be93f8503 /fs/bcachefs/extents.h | |
parent | b17657d0cf321af98fcb9d52748ca4d201284702 (diff) | |
download | lwn-b1c9358a25eb0ed94c5bfc18ba5f9b00d51d8863.tar.gz lwn-b1c9358a25eb0ed94c5bfc18ba5f9b00d51d8863.zip |
bcachefs: Refactor __bch2_cut_front()
Minor cleanup - prep work for new key types for reflink
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/extents.h')
-rw-r--r-- | fs/bcachefs/extents.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/bcachefs/extents.h b/fs/bcachefs/extents.h index fe92737354bd..549188c864ae 100644 --- a/fs/bcachefs/extents.h +++ b/fs/bcachefs/extents.h @@ -540,11 +540,11 @@ do { \ } \ } while (0) -bool __bch2_cut_front(struct bpos, struct bkey_s); +void __bch2_cut_front(struct bpos, struct bkey_s); -static inline bool bch2_cut_front(struct bpos where, struct bkey_i *k) +static inline void bch2_cut_front(struct bpos where, struct bkey_i *k) { - return __bch2_cut_front(where, bkey_i_to_s(k)); + __bch2_cut_front(where, bkey_i_to_s(k)); } bool bch2_cut_back(struct bpos, struct bkey *); |