diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-06-27 17:32:48 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:05 -0400 |
commit | f33c58fc46a9c5bd6cbf90edb6ce17fa3fd912d5 (patch) | |
tree | d8a245eb7cf6e7ef9d7a6fc0a02cf06ba917dc2e /fs/bcachefs/migrate.c | |
parent | 65db60490a36cbfc0500cb86bf539614c89501d3 (diff) | |
download | linux-stable-f33c58fc46a9c5bd6cbf90edb6ce17fa3fd912d5.tar.gz linux-stable-f33c58fc46a9c5bd6cbf90edb6ce17fa3fd912d5.tar.bz2 linux-stable-f33c58fc46a9c5bd6cbf90edb6ce17fa3fd912d5.zip |
bcachefs: Kill BTREE_INSERT_USE_RESERVE
Now that we have journal watermarks and alloc watermarks unified,
BTREE_INSERT_USE_RESERVE is redundant and can be deleted.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/migrate.c')
-rw-r--r-- | fs/bcachefs/migrate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/migrate.c b/fs/bcachefs/migrate.c index 783e9442b302..81c8cdbac285 100644 --- a/fs/bcachefs/migrate.c +++ b/fs/bcachefs/migrate.c @@ -141,7 +141,7 @@ retry: break; } - ret = bch2_btree_node_update_key(&trans, &iter, b, k.k, false); + ret = bch2_btree_node_update_key(&trans, &iter, b, k.k, 0, false); if (bch2_err_matches(ret, BCH_ERR_transaction_restart)) { ret = 0; continue; |