diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-30 02:47:30 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-05-08 17:29:21 -0400 |
commit | fa9bb741fea1173f94f4fbdc7523744cde6dcdb8 (patch) | |
tree | d1ba17d0dea700da870e1c6a04dd196725df7465 /fs/bcachefs/ec.c | |
parent | 2685c67d128339db01f8af0798c8a9c3ad04c5ba (diff) | |
download | lwn-fa9bb741fea1173f94f4fbdc7523744cde6dcdb8.tar.gz lwn-fa9bb741fea1173f94f4fbdc7523744cde6dcdb8.zip |
bcachefs: alloc_data_type_set()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/ec.c')
-rw-r--r-- | fs/bcachefs/ec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/ec.c b/fs/bcachefs/ec.c index d6fa7e0bb266..a4ae39b10e98 100644 --- a/fs/bcachefs/ec.c +++ b/fs/bcachefs/ec.c @@ -290,7 +290,7 @@ static int mark_stripe_bucket(struct btree_trans *trans, goto err; if (deleting) - a->v.data_type = alloc_data_type(a->v, BCH_DATA_user); + alloc_data_type_set(&a->v, BCH_DATA_user); ret = bch2_trans_update(trans, &iter, &a->k_i, 0); if (ret) |