summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/bkey.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2022-11-26 04:36:56 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:47 -0400
commit6530d89e0a598592badde77930269740b44ea2ee (patch)
treed5cacfa2f7f4fffef42b5a782b0b6ad76ff5baaf /fs/bcachefs/bkey.h
parente2fcf7f6306f12c50ad2ec655fdb8d1918c23bdd (diff)
downloadlinux-6530d89e0a598592badde77930269740b44ea2ee.tar.gz
linux-6530d89e0a598592badde77930269740b44ea2ee.tar.bz2
linux-6530d89e0a598592badde77930269740b44ea2ee.zip
bcachefs: extents no longer require special handling for packing
Extent overwrite used to be handled differently, underneath the journaling layer and within the core btree code. This imposed restrictions on bkey packing/packed formats, which no longer apply. This patch deletes those restrictions. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bkey.h')
-rw-r--r--fs/bcachefs/bkey.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/bcachefs/bkey.h b/fs/bcachefs/bkey.h
index 0ce020bcc55f..df8189476016 100644
--- a/fs/bcachefs/bkey.h
+++ b/fs/bcachefs/bkey.h
@@ -689,7 +689,6 @@ static inline void bch2_bkey_format_add_key(struct bkey_format_state *s, const s
#define x(id, field) __bkey_format_add(s, id, k->field);
bkey_fields()
#undef x
- __bkey_format_add(s, BKEY_FIELD_OFFSET, bkey_start_offset(k));
}
void bch2_bkey_format_add_pos(struct bkey_format_state *, struct bpos);