diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-08-08 19:53:30 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:09 -0400 |
commit | fc3268c13c1925df9bdc427ffe9bd5466f672b83 (patch) | |
tree | e22d60b4c38a4124ecf03c6da3a8888e630a4bc9 /fs/bcachefs/migrate.c | |
parent | 190fa7af39a41867f98166661422f0cf84812358 (diff) | |
download | lwn-fc3268c13c1925df9bdc427ffe9bd5466f672b83.tar.gz lwn-fc3268c13c1925df9bdc427ffe9bd5466f672b83.zip |
bcachefs: kill extent_insert_hook
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 8f618dc5160d..9337a8729a5b 100644 --- a/fs/bcachefs/migrate.c +++ b/fs/bcachefs/migrate.c @@ -79,7 +79,7 @@ static int bch2_dev_usrdata_drop(struct bch_fs *c, unsigned dev_idx, int flags) iter.pos = bkey_start_pos(&tmp.key.k); - ret = bch2_btree_insert_at(c, NULL, NULL, NULL, + ret = bch2_btree_insert_at(c, NULL, NULL, BTREE_INSERT_ATOMIC| BTREE_INSERT_NOFAIL, BTREE_INSERT_ENTRY(&iter, &tmp.key)); |