summaryrefslogtreecommitdiff
path: root/libbcachefs/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/io.c')
-rw-r--r--libbcachefs/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/io.c b/libbcachefs/io.c
index 212a5a65..da06845c 100644
--- a/libbcachefs/io.c
+++ b/libbcachefs/io.c
@@ -475,7 +475,7 @@ static int bch2_write_extent(struct bch_write_op *op,
nonce = extent_nonce(op->version,
crc_nonce,
src_len >> 9,
- compression_type),
+ fragment_compression_type),
bch2_encrypt_bio(c, csum_type, nonce, bio);